FS#49352 - [st] DEL key doesnt work in weechat when using st
Attached to Project:
Community Packages
Opened by ikohvei (ikohvei) - Monday, 16 May 2016, 05:33 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 15 August 2016, 11:28 GMT
Opened by ikohvei (ikohvei) - Monday, 16 May 2016, 05:33 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 15 August 2016, 11:28 GMT
|
Details
When using st, DEL key doesnt work in weechat (and other
ncurses apps that use keypad mode).
st devs are not going to fix it because its actually a bad legacy behavior in xterm/urxvt. Maybe the fix belongs as an aur pkg, st-delkey. http://st.suckless.org/patches/delkey http://st.suckless.org/patches/st-0.6-delkey.diff http://git.suckless.org/st/tree/FAQ ---st--- % echo "$terminfo[dch1]" | cat -v ^[[P % echo "$terminfo[kdch1]" | cat -v ^[[3~ % cat <(printf "$terminfo[smkx]"; cat -v) ^[[3~ % cat <(printf "$terminfo[rmkx]"; cat -v) ^[[P ---urxvt--- % echo "$terminfo[dch1]" | cat -v ^[[P % echo "$terminfo[kdch1]" | cat -v ^[[3~ % cat <(printf "$terminfo[smkx]"; cat -v) ^[[3~ % cat <(printf "$terminfo[rmkx]"; cat -v) ^[[3~ |
This task depends upon
BTW: suckless packages always need to be patched and preconfigured in *.h to your needs. There's also scrolling missing and more.
https://aur.archlinux.org/packages/?O=0&SeB=nd&K=st-+terminal&outdated=&SB=n&SO=a&PP=50&do_Search=Go