summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 01:52:58 -0600
committerzachir <zachir@librem.one>2023-02-20 01:52:58 -0600
commite37e594a2a75e965c353dd541385208d03f2b4bc (patch)
tree59126c7bb6dff97bc76a13b8e82fc78034cc16e2 /st.c
parent6cafedb4b171c53bea640d7850988526b3b64c20 (diff)
add alpha anysize bold-is-not-bright boxdraw_v2 charoffsets clipboard and focus patches
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 3 insertions, 1 deletions
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