Add name suffix for marks (kovidgoyal/kitty#3716)

This commit is contained in:
be5invis 2021-06-12 22:44:28 -07:00
parent 6af9c2e29e
commit 554375808c
6 changed files with 46 additions and 23 deletions

View file

@ -91,6 +91,7 @@ const TieGlyph = {
set(glyph) {
if (!glyph.related) glyph.related = {};
glyph.related.TieGlyph = true;
Joining.or(glyph, Joining.Classes.Mid);
}
};
@ -125,6 +126,9 @@ const Joining = {
if (!glyph.related) glyph.related = {};
glyph.related.joining = cls;
},
or(glyph, cls) {
Joining.set(glyph, cls | Joining.get(cls));
},
amendOtName(baseName, cl) {
switch (cl) {
case Joining.Classes.Left: