Mouse wheel does not enter copy/scroll mode despite scroll-enter-copy-mode on
Environment
- OS: Windows 10/11
- Terminal: Windows Terminal / PowerShell
- psmux version:
<please fill in: psmux --version>
- Shell inside psmux: PowerShell
Description
Mouse wheel scrolling does not work in a normal psmux pane. It only works after manually entering copy/scroll
mode with Prefix + [.
I have mouse support enabled, and I also tried enabling tmux-style automatic copy-mode entry:
set -g mouse on
set -g scroll-enter-copy-mode on
However, scrolling with the mouse wheel in a normal pane does not enter copy mode or scroll the pane history.
### Expected behavior
When mouse is enabled, and especially when scroll-enter-copy-mode is enabled, using the mouse wheel in a pane
should automatically enter copy/scroll mode and scroll through the pane history, similar to tmux behavior.
### Actual behavior
Mouse wheel scrolling has no effect in the normal pane view.
If I manually enter copy/scroll mode with:
Prefix + [
then the mouse wheel works and scrolls through history correctly.
### Steps to reproduce
1. Create or update ~/.psmux.conf with:
set -g mouse on
set -g scroll-enter-copy-mode on
set -g history-limit 10000
2. Start a new psmux session.
3. Run a command that produces more output than fits on screen, for example:
1..200
4. Try to scroll up with the mouse wheel in the normal pane.
5. Enter copy mode with Prefix + [.
6. Try scrolling again with the mouse wheel.
### Observed result
- Mouse wheel does not scroll in normal pane mode.
- Mouse wheel does scroll after manually entering copy/scroll mode.
### Notes
The documented options list includes mouse, but I could not find scroll-enter-copy-mode in the supported
options. If this option is not currently supported, it would be useful to either support it or document that
mouse wheel scrolling only works after entering copy/scroll mode manually.
```tmux
PS C:\Users\34220>psmux --version
tmux 3.3.5
Mouse wheel does not enter copy/scroll mode despite
scroll-enter-copy-mode onEnvironment
<please fill in: psmux --version>Description
Mouse wheel scrolling does not work in a normal psmux pane. It only works after manually entering copy/scroll
mode with
Prefix + [.I have mouse support enabled, and I also tried enabling tmux-style automatic copy-mode entry: