Skip to content

Change mouse capture behavior in TUI mode#2043

Open
networkneuron wants to merge 1 commit intonexus-xyz:mainfrom
networkneuron:ui-fix
Open

Change mouse capture behavior in TUI mode#2043
networkneuron wants to merge 1 commit intonexus-xyz:mainfrom
networkneuron:ui-fix

Conversation

@networkneuron
Copy link

Disabled mouse capture to prevent the tui from freezing during rapid mouse movement. The issue was caused by the event loop getting flooded with unhandled mouse events, which triggered too many redraws and locked up the interface. Since the cli doesn’t actually use mouse input, turning off mouse capture doesn’t affect any functionality ....... it just makes the tui stable

Disabled mouse capture to prevent TUI freeze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants