Commit graph

19 commits

Author SHA1 Message Date
Ayman Bagabas
426ab75fdc chore: update windows testdata 2025-04-30 16:44:19 -04:00
Ayman Bagabas
44861272f6
chore: update testdata 2025-05-01 11:57:18 -04:00
Ayman Bagabas
968788c69e
chore: update testdata for windows 2025-05-01 11:53:11 -04:00
Ayman Bagabas
9ca521a869
chore: update testdata 2025-05-01 11:53:10 -04:00
Ayman Bagabas
cc204f668b
(v2) fix: windows: enable mouse mode on demand (#1341)
* fix: windows: enable mouse mode on demand

This fixes an issue where mouse mode is always enabled on Windows. With
this patch, we enable mouse events only it is requested.

Needs: https://github.com/charmbracelet/x/pull/386
Related: https://github.com/charmbracelet/bubbletea/issues/1313

* refactor: mouse: properly handle mouse mode

Since mouse mode has a special case on Windows, we now have
separate msg types for mouse events.

* chore: go mod tidy
2025-03-11 16:20:20 -04:00
Ayman Bagabas
3d90f40a17 chore: update testdata for windows 2025-02-13 11:57:41 -05:00
Ayman Bagabas
3fc1c224d4
chore: merge branch 'main' into v2-exp 2025-02-12 17:03:48 -05:00
Carlos Alexandro Becker
11e96ff549
feat(v2): update examples (#1318) 2025-02-11 13:42:47 -03:00
Ayman Bagabas
47166e9a7a
chore: remove trailing newlines and update testdata
The new renderer now always moves the cursor to the beginning of
the next line on exit.
2025-02-10 17:02:33 -05:00
Ayman Bagabas
b08648f203 fix: tests: update testclearmsg test on windows and update deps 2025-02-06 16:32:09 -05:00
Ayman Bagabas
cd30b7d2ac
fix: tests: kitty_start_windows testdata 2025-02-06 13:46:10 -05:00
Ayman Bagabas
624879efac
fix: cursor show/hide sequence in test 2025-02-06 13:37:38 -05:00
Ayman Bagabas
5a2a4f72df
chore: update golden files 2025-02-04 16:52:39 -05:00
Ayman Bagabas
5388894ba5
chore: update golden file
Fixes: 51536c04b0 (fix: renderer: make sure to move the cursor to the top left corner after clearing the screen)
2025-02-03 10:47:14 -05:00
Ayman Bagabas
6f40250d70
chore: merge branch 'v2-exp' into v2-enh-keeb 2025-01-15 15:35:14 +03:00
Carlos Alexandro Becker
30a5dd4e34
Merge remote-tracking branch 'origin/v2-exp' into v2-ferocious2
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-01-14 16:52:38 -03:00
Ayman Bagabas
e2768ff843
chore: testdata: update golden files 2025-01-13 09:57:44 +03:00
Ayman Bagabas
3d79aff7ed
perf: only reset mouse modes that are set 2025-01-13 08:20:24 +03:00
Ayman Bagabas
26be4d4138
feat: tests: use golden files to test screen sequences 2025-01-13 08:20:20 +03:00