<micah>
hello foot folks! I just got this new logitech mouse, its great, but the scroll wheel is super sensitive, and when I go to paste by pressing the wheel, it usually activates the foot wheel functionality which is to go up/down in the history
<micah>
is there a way I can disable that in foot?
<micah>
aha! alternate-scroll-mode
<micah>
i'd love to be able to disable it for one terminal/application (my mosh+tmux+irssi window), I see the manual says:
<micah>
This option can be modified by applications at run-time using the escape sequences CSI ? 1007 h (enable) and CSI ? 1007 l (disable).
<micah>
how do I send that escape sequence?
angry_vincent has quit [Remote host closed the connection]
angry_vincent has joined #foot
angry_vincent has joined #foot
angry_vincent has quit [Changing host]
<anarcat>
in the prompt maybe?
<anarcat>
or bashrc?
<anarcat>
or maybe the irssi theme?
lack has quit [Read error: Connection reset by peer]
lack has joined #foot
<micah>
I'm not even sure I know what that escape sequence is
Biolunar has joined #foot
hexa- has quit [Quit: WeeChat 3.7.1]
hexa- has joined #foot
hexa- is now known as h
h is now known as hexa-
<Arnavion>
If you don't want to hard-code the sequence, use ncurses's tput. `tput smcup` will enter alt screen mode and `tput rmcup` will exit it
<Arnavion>
Oh, alt *scroll* mode
<Arnavion>
Seems there isn't a terminfo cap for it. So you do have to hard-code it - `printf '\x1b[?1007h'`
cbb has joined #foot
angry_vincent has quit [Remote host closed the connection]