dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 25034270e21c2d495f10ddf37ac49fa98a7fba66
parent e4b4b317ede2d0533cbe8a8153baa572857e029b
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Thu, 30 Jan 2014 14:56:52 +0100

Hide cursor when scrolling

Diffstat:
dvtm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dvtm.c b/dvtm.c @@ -902,7 +902,7 @@ redraw(const char *args[]) { static void scrollback(const char *args[]) { - if (!sel) + if (!is_content_visible(sel)) return; if (!args[0] || atoi(args[0]) < 0) @@ -911,6 +911,7 @@ scrollback(const char *args[]) { vt_scroll(sel->term, sel->h/2); draw(sel); + curs_set(vt_cursor(sel->term)); } static void