scroll

scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log | Files | Refs | README

commit 13d77c40208cbae400c189b0dcd81e65f600c47b
parent 7281a8b5bc65be1b2eee7a936fe088f73f218cc5
Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date:   Thu,  9 Apr 2020 20:37:47 +0200

Fix bug with empty lines in scrollback

Diffstat:
Mscroll.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scroll.c b/scroll.c @@ -296,7 +296,7 @@ scrollup(int n) bottom = TAILQ_NEXT(bottom, entries); write(STDOUT_FILENO, scrollend->buf, scrollend->size); } - dprintf(STDOUT_FILENO, "\033[%d;%dH", ws.ws_row, ws.ws_col); + dprintf(STDOUT_FILENO, "\033[%d;0H", ws.ws_row); } void