Repository navigation
v0.2.9 — Fix mouse wheel scroll in TTYD terminal
Bug fix
- The mouse wheel moved the command-line cursor instead of scrolling the terminal (#24). Scrolling up or down was being interpreted as pressing the Up/Down arrow keys, so instead of scrolling through output you'd cycle through your command history.
Now the mouse wheel scrolls the terminal as expected:
- On a normal shell prompt (bash/zsh) it scrolls through the output history
- In full-screen apps (vim, less, htop) it scrolls within the app, just like in a desktop terminal
- Works consistently across different mice and trackpads