sfeed_curses.1: mention the specific encodings X10 and SGR - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
 (HTM) git clone git://git.codemadness.org/sfeed_curses
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0ead415f22016b33698476e9b7212ad51d63eb98
 (DIR) parent cb62fb68ea42d7ca3f52fee947077a0f35d8000a
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       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(-)
       ---
 (DIR) 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 <
 (DIR) 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 supported) */
       +        ttywrite(on ? "\x1b[?1000h" : "\x1b[?1000l"); /* xterm X10 mouse mode */
       +        ttywrite(on ? "\x1b[?1006h" : "\x1b[?1006l"); /* extended SGR mouse mode */
        }
        
        void
       @@ -657,7 +657,6 @@ init(void)
                appmode(1);
                cursormode(0);
        
       -        /* xterm mouse-mode */
                if (usemouse)
                        mousemode(usemouse);