scroll

scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log | Files | Refs | README

commit 9ff6fdb25513e49abbe3750668b8ee6903326f15
parent 91719e47d5384a79a3fb76ee36a3980d0e3f56f3
Author: Roberto E. Vargas <k0ga@shike2.com>
Date:   Sat, 16 May 2020 09:57:28 +0000

Remove ^E and ^Y

^E and ^Y are characters reserved by POSIX shell in emacs
editing mode for "control of line" and "yank". St is generating
^E and ^Y as a hack because vi and less uses them for scroll
backward/forward. being the only terminal emulator where
mouse wheel can be used with them. A new patch was sent to
st to do the same trick for terminal scroll, and making st
returns shift+prev/next for shift+wheel.

Diffstat:
Mconfig.def.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -10,6 +10,6 @@ struct rule rules[] = { /* sequence event lines */ {"\033[5;2~", SCROLL_UP, -1}, /* [Shift] + [PageUP] */ {"\033[6;2~", SCROLL_DOWN, -1}, /* [Shift] + [PageDown] */ - {"\031", SCROLL_UP, 1}, /* mouse wheel up */ - {"\005", SCROLL_DOWN, 1}, /* mouse wheel Down */ + //{"\031", SCROLL_UP, 1}, /* mouse wheel up */ + //{"\005", SCROLL_DOWN, 1}, /* mouse wheel Down */ };