Commit graph

3 commits

Author SHA1 Message Date
Andrey Nering
b224818d99
ci(lint): fix all lint issues on main (#1342) 2025-02-27 16:03:01 -03:00
Ayman Bagabas
bf1216dfaf
fix: windows: enable mouse mode on demand (#1340)
Since we added native Windows API input events support, we always enable
mouse events even if the user doesn't want them. This is a problem because
it breaks applications that don't expect mouse events and selection
stops working without any modifier key.

Fixes: https://github.com/charmbracelet/bubbletea/issues/1313
2025-02-25 11:52:37 -05:00
Ayman Bagabas
75966e8578
feat: support windows console input buffer (#878)
This adds support to the Windows Console Input Buffer API which access
the console API directly without the need for virtual terminal input
(i.e. the current mode that emulates unix inputs).
Since this uses the console input api, we can finally read window size
events.

This is mearly based on the awesome work of @erikgeiser in #140.

Fixes: https://github.com/charmbracelet/bubbletea/issues/538
Fixes: https://github.com/charmbracelet/bubbletea/issues/121
2024-02-27 14:21:42 -05:00