Applied, thx.
I think one way forward would be:
http://st.suckless.org/patches/fix_keyboard_input/
Cheers Jochen
* k0ga <k0ga_AT_shike2.com> [2020-05-16 10:46]:
>Sorry, this patch is for scroll, no for st.
>
>
>On Sat, May 16, 2020 at 09:57:28AM +0000, Roberto E. Vargas wrote:
>> ^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.
>> ---
>> config.def.h | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/config.def.h b/config.def.h
>> index 36b1a45..51c493b 100644
>> --- a/config.def.h
>> +++ b/config.def.h
>> _AT_@ -10,6 +10,4 @@ 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 */
>> };
>> --
>> 2.26.2
>>
>>
>
Received on Sat May 16 2020 - 23:09:15 CEST