From e37e594a2a75e965c353dd541385208d03f2b4bc Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Feb 2023 01:52:58 -0600 Subject: add alpha anysize bold-is-not-bright boxdraw_v2 charoffsets clipboard and focus patches --- st.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index 62def59..2ed0094 100644 --- a/st.c +++ b/st.c @@ -194,7 +194,6 @@ static void tsetscroll(int, int); static void tswapscreen(void); static void tsetmode(int, int, const int *, int); static int twrite(const char *, int, int); -static void tfulldirt(void); static void tcontrolcode(uchar ); static void tdectest(char ); static void tdefutf8(char); @@ -1215,6 +1214,9 @@ tsetchar(Rune u, const Glyph *attr, int x, int y) term.dirty[y] = 1; term.line[y][x] = *attr; term.line[y][x].u = u; + + if (isboxdraw(u)) + term.line[y][x].mode |= ATTR_BOXDRAW; } void -- cgit v1.2.3