Skip to content

v0.2.9 — Fix mouse wheel scroll in TTYD terminal

Choose a tag to compare

@axisrow axisrow released this 31 Mar 04:46
· 85 commits to main since this release
8ff5097

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