all repos — st @ 9e004846def39ee73eeb06ba9b1be0e389752441

st (suckless terminal) config

fixed newline bug.
Aurélien Aptel aurelien.aptel@gmail.com
commit

9e004846def39ee73eeb06ba9b1be0e389752441

parent

68d8fcf62a4f016c0292db543c1c2e694afc5b54

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

jump to
M st.cst.c

@@ -627,12 +627,13 @@ }

void tnewline(void) { + int x = term.c.x+1 < term.col ? term.c.x : 0; int y = term.c.y; if(term.c.y == term.bot) tscrollup(term.top, 1); else y++; - tmoveto(0, y); + tmoveto(x, y); } void