all repos — st @ 42b2912e2151f02e181bd014ce1610f7e03a7d07

st (suckless terminal) config

cleaned some spaces.
Aurélien Aptel aurelien.aptel@gmail.com
commit

42b2912e2151f02e181bd014ce1610f7e03a7d07

parent

5d611cd5476b56884077120bc2a6ba9727fcdd2c

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

jump to
M st.cst.c

@@ -440,11 +440,11 @@

void twrapcursor(void) { int y = term.c.y+1; - if(y > term.bot) { - tmoveto(0, term.bot); - tscroll(); - } else - tmoveto(0, y); + if(y > term.bot) { + tmoveto(0, term.bot); + tscroll(); + } else + tmoveto(0, y); } void

@@ -971,10 +971,10 @@ term.esc = ESC_START;

break; default: tsetchar(c); - if(term.c.x+1 < term.col) { - tmoveto(term.c.x+1, term.c.y); - } else if(IS_SET(MODE_WRAP)) - twrapcursor(); + if(term.c.x+1 < term.col) { + tmoveto(term.c.x+1, term.c.y); + } else if(IS_SET(MODE_WRAP)) + twrapcursor(); break; } }