Commit graph

7 commits

Author SHA1 Message Date
Ayman Bagabas
efd37e6e54
chore: update to use ultraviolet repository name 2025-06-30 11:05:36 -04:00
Ayman Bagabas
31fb5031cc
feat: update to use uv package 2025-05-30 17:44:58 -04:00
Ayman Bagabas
9eb2867725
refactor: use tv package for input events 2025-05-19 13:23:44 -04:00
Ayman Bagabas
2df9ed00e3 refactor: use x/input for input events
This moves the existing input event handling to the x/input package. All
input events are translated to tea messages in
`tea.translateInputEvent`.
2024-12-12 10:51:58 -05:00
Ayman Bagabas
fa69e03c9e
fix: lint issues (#1109) 2024-08-22 12:56:15 -04:00
Ayman Bagabas
e0865cfed3
refactor: simplify key modifier matching
Use bitmap matching to check if a modifier contains another
2024-08-16 16:51:34 -04:00
Ayman Bagabas
13ffcad06c
refactor: reimplement the event loop with a sequence parser
Currently, Bubble Tea uses a simple lookup table to detect input events.
Here, we're introducing an actual input sequence parser instead of
simply using a lookup table. This will allow Bubble Tea programs to read
all sorts of input events such Kitty keyboard, background color, mode
report, and all sorts of ANSI sequence input events.

Supersedes: https://github.com/charmbracelet/bubbletea/pull/1079
Supersedes: https://github.com/charmbracelet/bubbletea/issues/1014
Related: https://github.com/charmbracelet/bubbletea/issues/869
Related: https://github.com/charmbracelet/bubbletea/issues/163
Related: https://github.com/charmbracelet/bubbletea/issues/918
Related: https://github.com/charmbracelet/bubbletea/issues/850
Related: https://github.com/charmbracelet/bubbletea/issues/207
2024-08-12 17:33:51 -04:00