sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit 664f2e403a2202f42e7f8dbf5ed309370fb11984
parent 51c9790db83eb6c989203d3ca4ffd3262452d255
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 18 Jul 2020 16:56:33 +0200

fix cursor visibility in urxvt

The order of setting application-mode and hiding the cursor matters.

Diffstat:
Msfeed_curses.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -438,8 +438,8 @@ cleanup(void) /* restore terminal settings */ tcsetattr(0, TCSANOW, &tsave); - appmode(0); cursormode(1); + appmode(0); clearscreen(); /* xterm mouse-mode */ @@ -493,8 +493,8 @@ init(void) resizewin(); - cursormode(0); appmode(1); + cursormode(0); /* xterm mouse-mode */ if (usemouse)