MiMo-Code icon indicating copy to clipboard operation
MiMo-Code copied to clipboard

Chat output scrolling broken in Windows Terminal — scrollbar disappears, mouse wheel ignored

Open MehdiDolati opened this issue 4 months ago • 0 comments

Description

The chat output window has no reliable scroll mechanism in Windows Terminal. Mouse wheel scrolling sometimes starts but the scrollbar immediately disappears and scrolling stops. Page Up/Down do nothing.

Alacritty works correctly — Page Up/Down scroll the output as expected. This appears to be a Windows Terminal-specific issue, likely related to how MiMoCode handles mouse tracking or screen buffer switching under ConPTY.

Steps to Reproduce

  1. Start a conversation with several pages of output in Windows Terminal
  2. Use mouse wheel to scroll — scrollbar briefly appears then vanishes, scrolling stops
  3. Press Page Up/Down — no effect
  4. Switch to Alacritty, same conversation — Page Up/Down work correctly

Expected Behavior

Scrolling should work consistently across terminals. At minimum, Page Up/Down should scroll output regardless of terminal.

Environment

  • OS: Windows 11
  • Terminal: Windows Terminal
  • Working terminal: Alacritty
  • MiMoCode version: latest

Notes

  • The scrollbar flashing and disappearing suggests MiMoCode may be resetting mouse tracking state or re-rendering the full TUI on scroll events, which causes the scrollbar to be destroyed and recreated.
  • Arrow keys navigate prompt history, not output. Ctrl+Up/Down do nothing. There is no keyboard-only way to scroll output in Windows Terminal.

MehdiDolati avatar Jul 24 '26 21:07 MehdiDolati