sfeed_curses

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

commit fdefb6304047c81e544ff647e851cfc0c50bfaa8
parent 38e5b442519a7c5bc81e3f8f9c09cd084647608c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  3 Aug 2020 15:50:01 +0200

use cursor_normal, instead of cursor_visible

cursor_visible means "very visible". This caused issues in tmux (although I could not
reproduce it).

in st:
cvvis=\E[?25h
cnorm=\E[?12l\E[?25h
civis=\E[?25l

in xterm
cvvis=\E[?12;25h
cnorm=\E[?12l\E[?25h
civis=\E[?25l

In tmux:
cvvis=\E[34l
cnorm=\E[34h\E[?25h
civis=\E[?25l

Reported by frobnitz, thanks!

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

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -404,7 +404,7 @@ void cursormode(int on) { /*ttywrite(on ? "\x1b[?25h" : "\x1b[?25l");*/ /* DECTCEM (in)Visible cursor */ - ttywrite(tparm(on ? cursor_visible : cursor_invisible, 0, 0, 0, 0, 0, 0, 0, 0, 0)); + ttywrite(tparm(on ? cursor_normal : cursor_invisible, 0, 0, 0, 0, 0, 0, 0, 0, 0)); } void