Skip to content

fix(gui): add kitty key/mouse parsing and robust terminal event dispatch - #21

Closed
Blankeos wants to merge 1 commit into
mainfrom
fix/joshxfi-weird-terminal
Closed

fix(gui): add kitty key/mouse parsing and robust terminal event dispatch#21
Blankeos wants to merge 1 commit into
mainfrom
fix/joshxfi-weird-terminal

Conversation

@Blankeos

Copy link
Copy Markdown
Owner
  • Upgrade terminal UI stack to crossterm 0.29 and ratatui 0.30.2 (ratatui-textarea 0.9.2) - Parse kitty escape variants including key Press/Repeat/Release and SGR mouse sequences, then dispatch by event kind - Add batched terminal event draining with mouse coalescing for motion/drag/scroll events - Introduce focus-transition and popup-tail suppression logic to avoid duplicate actions from key releases/repeats - Enable keyboard REPORT_EVENT_TYPES, reorder terminal setup probing, and update textarea cursor handling for new API - Expand tests for key kind parsing, mouse coalescing, and popup tail suppression behavior

- Upgrade terminal UI stack to `crossterm` 0.29 and `ratatui` 0.30.2 (`ratatui-textarea` 0.9.2) - Parse kitty escape variants including key `Press/Repeat/Release` and SGR mouse sequences, then dispatch by event kind - Add batched terminal event draining with mouse coalescing for motion/drag/scroll events - Introduce focus-transition and popup-tail suppression logic to avoid duplicate actions from key releases/repeats - Enable keyboard `REPORT_EVENT_TYPES`, reorder terminal setup probing, and update textarea cursor handling for new API - Expand tests for key kind parsing, mouse coalescing, and popup tail suppression behavior
@Blankeos

Blankeos commented Jul 23, 2026

Copy link
Copy Markdown
Owner Author

@joshxfi pls check w/ your weird ass terminal 🥹🙏

  1. Requires Rust 1.88.0 or newer:
rustc --version
rustup update stable
  1. Remove the old binary:
bun uninstall -g lazygitrs # if `where lazygitrs` is bun
npm uninstall -g lazygitrs # if `where lazygitrs` is pnpm
brew uninstall blankeos/tap/lazygitrs # if `where lazygitrs` is brew
  1. To install the test version:
cargo install \
  --git https://github.com/blankeos/lazygitrs \
  --branch fix/joshxfi-weird-terminal \
  --locked \
  --force

lazygitrs

Repository owner deleted a comment from cursor Bot Jul 23, 2026
@Blankeos Blankeos closed this Jul 27, 2026
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.

1 participant