sfeed_curses.1: mention the specific encodings X10 and SGR - sfeed_curses - sfe… | |
git clone git://git.codemadness.org/sfeed_curses | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0ead415f22016b33698476e9b7212ad51d63eb98 | |
parent cb62fb68ea42d7ca3f52fee947077a0f35d8000a | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Wed, 24 Mar 2021 18:08:59 +0100 | |
sfeed_curses.1: mention the specific encodings X10 and SGR | |
It does not use other encodings, for example extended X10 UTF-8 or urxvt | |
encoding. But SGR should cover this functionalities. | |
Diffstat: | |
M sfeed_curses.1 | 3 ++- | |
M sfeed_curses.c | 5 ++--- | |
2 files changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/sfeed_curses.1 b/sfeed_curses.1 | |
@@ -1,4 +1,4 @@ | |
-.Dd March 19, 2021 | |
+.Dd March 23, 2021 | |
.Dt SFEED_CURSES 1 | |
.Os | |
.Sh NAME | |
@@ -77,6 +77,7 @@ Redraw screen. | |
Reload all feed files which were specified as arguments on startup. | |
.It m | |
Toggle mouse-mode. | |
+It supports xterm X10 and extended SGR encoding. | |
.It s | |
Toggle between monocle layout and the previous non-monocle layout. | |
.It < | |
diff --git a/sfeed_curses.c b/sfeed_curses.c | |
@@ -514,8 +514,8 @@ appmode(int on) | |
void | |
mousemode(int on) | |
{ | |
- ttywrite(on ? "\x1b[?1000h" : "\x1b[?1000l"); /* xterm mouse mode */ | |
- ttywrite(on ? "\x1b[?1006h" : "\x1b[?1006l"); /* SGR mouse mode (if su… | |
+ ttywrite(on ? "\x1b[?1000h" : "\x1b[?1000l"); /* xterm X10 mouse mode … | |
+ ttywrite(on ? "\x1b[?1006h" : "\x1b[?1006l"); /* extended SGR mouse mo… | |
} | |
void | |
@@ -657,7 +657,6 @@ init(void) | |
appmode(1); | |
cursormode(0); | |
- /* xterm mouse-mode */ | |
if (usemouse) | |
mousemode(usemouse); | |