Commit graph

41 commits

Author SHA1 Message Date
9b00805546 feat: avoid sigwinch handling if we detect in band resize capability 2024-08-07 21:46:46 +02:00
3816ec2327 fix: make sure to reset in_band_resize on exit if it was enabled 2024-08-07 20:50:35 +02:00
c5f9f37c4c fix(renderer): fully reset tty on panic 2024-07-27 13:34:33 +02:00
Jonathan Marler
0e6fa89e44 fix tty nextEvent call on Windows 2024-07-20 22:11:29 +02:00
0caeb2c523 feat: set undercurl color for diagnostics 2024-07-09 21:16:16 +02:00
f06a7b3d6a refactor(Buffer): rename Metrix to Metrics
Metrix was a bit too silly
2024-07-05 20:58:24 +02:00
128182a448 refactor(Buffer): remove Plane dependency in Buffer 2024-07-05 00:33:31 +02:00
752331c717 fix(vaxis): prevent panic in panic in vaxis.panic 2024-06-21 01:13:23 +02:00
ce9c5ea23d fix(vaxis): correct key range in synthesized_p
This was causing left and right arrow keys to input garbage into
mini mode editors.
2024-06-20 22:20:07 +02:00
866451779b fix(vaxis): prevent a crash on large bracketed paste operations
Now we just serialize *all* event data and drop the grapheme cache
that was overflowing.
2024-06-19 17:39:27 +02:00
c9debbabf4 fix(renderer.Loop): prevent read buffer overflow on very large escape sequences 2024-06-18 21:11:06 +02:00
701107253f fix(tui): prevent button active state from sticking 2024-06-14 19:53:57 +02:00
c1ce38daaa fix: ignore extended modifier bits 2024-06-09 00:29:12 +02:00
ee6582b469 fix: resize handling corrections 2024-06-08 20:10:17 +02:00
de25501053 fix: avoid libvaxis startup crash on windows with a dummy resize event 2024-06-08 16:41:46 +02:00
961e5afe41 feat: initial windows support 2024-06-07 22:12:28 +02:00
e00ceed052 refactor: update libvaxis and remove some notcurses cruft 2024-06-05 20:06:26 +02:00
f72bbc4963 fix: add output buffering on render 2024-06-04 23:15:43 +02:00
2338489da3 build: update to latest zig and libvaxis and remove notcurses dependency 2024-06-04 23:14:43 +02:00
87462bfcdc feat: update libvaxis 2024-05-27 21:49:02 +02:00
b56290d640 fix(vaxis): check modifier state is in sync on every input event 2024-05-27 21:26:58 +02:00
e073e5f3db fix: force legacy sgr rendering for broadest compatiblity
This fixes rendering in Windows Terminal and possibly others.

Flow now works correctly in kitty, ghostty, iterm2, gnome-terminal, konsole,
xterm, rxvt, alacritty, wezterm, foot and windows terminal.
2024-05-23 22:27:23 +02:00
f1fa8fe883 fix(vaxis): report zero length for cells containing spaces in at_cursor_cell
This fixes diagnostics messages not displaying
2024-05-22 22:59:40 +02:00
c1b6817493 build: update libvaxis 2024-05-22 22:09:58 +02:00
312d24ed5e fix(vaxis): add missing system_clipboard_allocator 2024-05-22 22:03:55 +02:00
1d698afe55 fix(vaxis): enable pixel mouse mode only if detected
And use translated cell + offset coordinates for compatibility with
terminals that do not support pixel mouse mode.
2024-05-22 21:26:02 +02:00
dc21e7f6ac feat(vaxis): reset terminal state on panic with a custom panic handler 2024-05-22 21:19:48 +02:00
49ad54d60c feat: implement remaining terminal handling functions via libvaxis 2024-05-22 10:40:08 +02:00
36f167221e feat: enable pixel mouse coordinates in libvaxis 2024-05-22 10:39:15 +02:00
26232c3af3 fix: allow wrapping in putstr calls on scrollable vaxis planes 2024-05-20 11:06:27 +02:00
c32e2005b9 fix: hover and select menu styles on home screen 2024-05-18 17:02:45 +02:00
8c9338ddd2 feat: add support for scrolling and transparent windows in vaxis backend 2024-05-18 16:49:01 +02:00
0707b52d8a fix: re-eanble differential updates in vaxis backend 2024-05-18 16:47:34 +02:00
ced45d50e4 fix: use blocking tty io with libvaxis
This resolves WouldBlock issues with libvaxis and tty issues with macos.
2024-05-18 01:47:03 +02:00
6225944a7e fix: add missing renderer deinit() on exit 2024-05-17 21:18:54 +02:00
562b46b7d6 fix(vaxis): space is not a synthesized key 2024-05-17 15:20:38 +02:00
4c9263c0cf refactor: make vaxis key input names lower case 2024-05-12 00:11:18 +02:00
045b8c112d
Merge pull request #8 from rockorager/master
vaxis: request kitty keyboard release events from vaxis
2024-05-11 12:22:43 +02:00
Tim Culverhouse
348081bd27 vaxis: request kitty keyboard release events from vaxis
Update Vaxis and use the options struct to request keyboard release
events.
2024-05-10 20:08:25 -05:00
ec1fcd475b feat: add remaining styles to libvaxis renderer 2024-05-10 22:46:27 +02:00
1cd3cb17ce feat: add libvaxis renderer 2024-05-10 12:44:14 +02:00