Fix wide glyphs truncation

This commit is contained in:
Dreomite
2020-06-13 02:29:41 +03:00
parent ca42c0cc02
commit e3b821dcb3
2 changed files with 72 additions and 55 deletions

6
st.h
View File

@@ -37,6 +37,12 @@ enum glyph_attribute {
ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
};
enum drawing_mode {
DRAW_NONE = 0,
DRAW_BG = 1 << 0,
DRAW_FG = 1 << 1,
};
enum selection_mode {
SEL_IDLE = 0,
SEL_EMPTY = 1,