MiMo closes on double-click with mouse in Windows Terminal
Description
When running MiMo Code TUI (mimo) in Windows Terminal, double-clicking anywhere on the screen with the mouse causes the application to exit/close immediately.
Steps to Reproduce
- Open Windows Terminal
- Run
mimo - Double-click anywhere on the screen with the mouse
Expected Behavior
Double-click should either:
- Select text (default Windows Terminal behavior) without affecting the app, or MiMo Code exits immediately on double-click.
Environment
- OS: Windows 11
- Terminal: Windows Terminal
- Install method:
mimocode-windows-x64.zip
Possible Cause
Windows Terminal sends mouse escape sequences (SGR mouse mode) to the application on double-click. The Ink/SolidJS TUI framework may interpret this as an unhandled input event that triggers an exit condition, similar to receiving Ctrl+C or Esc.
This does not happen with single clicks — only double-click triggers the exit.
Additional Context
The issue makes the TUI unusable with a mouse, which is a significant UX problem since accidental double-clicks are common during normal usage.
Plugins
No response
MiMoCode version
v0.1.3
Steps to reproduce
- Open Windows Terminal
- Run
mimo - Double-click anywhere on the screen with the mouse
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows Terminal, WezTerm, MiMo.exe