Open danielg4 opened 7 years ago
Ah, just to understand, do you mean that when you enter irssi, scrolling sends up/down arrow keys, which doesn't scroll in irssi, but instead scrolls through history?
hmm. So one option would be to just have a blacklist to disable the emulated scrolling in certain applications.
Another could be to do what you said, and allow custom keys for certain applications, like a map.
As a workaround, up/down could be replaced with PgUp/PgDn, which works in both irssi and vim…
(…but not necessarily in tmux.)
The issue is that in https://github.com/NHDaly/tmux-better-mouse-mode/blob/4c686e5a1f381e072b102df63f3f8a17426fb107/scroll_copy_mode.tmux#L67 and https://github.com/NHDaly/tmux-better-mouse-mode/blob/4c686e5a1f381e072b102df63f3f8a17426fb107/scroll_copy_mode.tmux#L85 simple arrow keystrokes are sent, but irssi needs those for bash-style history browsing. There needs to be a way to send alternate keystrokes, for which bindings in irssi could then be defined.