MiMo-Code
MiMo-Code copied to clipboard
Chat output scrolling broken in Windows Terminal — scrollbar disappears, mouse wheel ignored
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
- Start a conversation with several pages of output in Windows Terminal
- Use mouse wheel to scroll — scrollbar briefly appears then vanishes, scrolling stops
- Press Page Up/Down — no effect
- 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.