all repos — st @ b16b5d77d31c4c6b2577ab0986e85b43baaf834a

st (suckless terminal) config

Fixing a off-by-one error in the new border clearing code.
Christoph Lohmann 20h@r-36.net
commit

b16b5d77d31c4c6b2577ab0986e85b43baaf834a

parent

2bd0c23fa7bb42724c75416342d36e00c435f404

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -2355,7 +2355,7 @@ winy + xw.ch + (y == term.row-1)? xw.h : 0);

} if(x + charlen >= term.col-1) { xclear(winx + width, (y == 0)? 0 : winy, xw.w, - winy + xw.ch + (y == term.row-1)? xw.h : 0); + (y == term.row-1)? xw.h : (winy + xw.ch)); } if(y == 0) xclear(winx, 0, winx + width, BORDER);