Commit graph

10 commits

Author SHA1 Message Date
Ayman Bagabas
50d023dc52
perf: combine event and render loops into single loop
This simplifies the program's main loop by merging the event handling
and rendering processes. This change reduces complexity and potential
synchronization issues, leading to improved performance and
maintainability.
2026-01-13 14:58:43 -05:00
Ayman Bagabas
59807cf07c
fix(renderer): reset kitty keyboard protocol on alt screen switch (#1554)
* fix(renderer): reset kitty keyboard protocol on alt screen switch

We need to reset the kitty keyboard protocol when switching between main
and alt screens. This is because kitty maintains separate keyboard
protocol registries for each screen, and failing to reset the protocol
can lead to issues such as the inability to use the Ctrl key in some
editor that don't support kitty's keyboard protocol.

* chore: update golden files to match the renderer output
2025-12-10 15:37:12 -05:00
Ayman Bagabas
6483c7e3ae
chore(tests): update golden files 2025-11-16 14:55:49 -05:00
Ayman Bagabas
fa796c98c0
chore: update testdata for cursor hide/show changes 2025-11-14 10:32:36 -05:00
Ayman Bagabas
a74936a850
chore(tests): fix tests and update testdata 2025-11-13 14:46:50 -05:00
Ayman Bagabas
4accb1c4d5 fix: renderer: avoid requesting keyboard enhancements on close
When the renderer is being closed, we should avoid requesting kitty
keyboard enhancements so that we don't leave the terminal with unhandled
input sequences.
2025-10-30 14:37:41 -04:00
Ayman Bagabas
72ca5f4e6b
chore: update golden files
Related: fa36fb177e
Related: d7c95b8a27
2025-10-30 12:47:01 -04:00
Ayman Bagabas
bd747e7bfa
refactor: clean up redundant code and update testdata 2025-10-01 13:50:38 -04:00
Ayman Bagabas
0ee1cf13c9
refactor: move key enhancement logic and options to View struct 2025-10-01 13:50:38 -04:00
Ayman Bagabas
fb3e0a4a3e
refactor: lean more into the View struct to manage terminal state 2025-10-01 13:50:37 -04:00