9145637134
fix: add workaround for conpty ul color escape sequence parser bug
...
closes #191
2025-02-24 18:20:47 +01:00
xdBronch
b353308712
use @returnAddress in panic handler
...
the current code causes the call to panic itself to show up in the stack
trace which is noisy
2025-02-11 16:54:01 +01:00
Jonathan Marler
337b6ce626
win32 gui: rework startup/hwnd sync
2025-01-07 22:02:16 +01:00
b73975328b
fix: normalized vaxis windows console input
2025-01-07 16:04:07 +01:00
7cbd63accd
feat(win32 gui): add direct copy to windows clipboard support
...
closes #100
2025-01-05 21:54:43 +01:00
16c9189493
fix: remove some obsolete functions and avoid panic on copy
2025-01-05 09:52:37 +01:00
5ac80f0b6f
feat(win32 gui): add clipboard paste support
2025-01-04 21:48:47 +01:00
7bfb9a2216
fix: remove thespian from win32 renderer module
2025-01-04 15:24:36 +01:00
9047439315
fix: merge vaxis and win32 event handling interfaces
2025-01-04 15:18:49 +01:00
233e881f95
feat: add support for pasting from the native windows clipboard
...
This give us OSC52 equivalent support on windows.
closes #95
2024-12-24 14:44:12 +01:00
8dc7a42306
refactor: remove alternate text from synthetic sync_mode_state events
2024-12-20 17:32:53 +01:00
7b21398487
fix: do not add key id string to input events if no text field is received
2024-12-20 17:25:33 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types
2024-11-15 21:16:31 +01:00
8308be76cd
fix: update libvaxis and use stable upstream URL for zg
2024-11-14 15:38:42 +01:00
bf6e4f49b8
feat: set terminal cursor color to match theme
2024-11-07 10:54:43 +01:00
0a43fa853f
feat: support rendering theme colors with alpha components
2024-11-04 22:19:45 +01:00
bf3fe5f2ba
refactor: run zigimports
...
closes : #38
2024-09-10 22:25:54 +02:00
4ac6818a4f
fix: allow tab characters in bracketed paste operations
...
closes #39
2024-09-05 16:41:05 +02:00
929f6b50b3
fix: do not break out of bracketed paste on sanitizer fail
...
Log and drop the bad bytes instead.
2024-09-05 16:39:51 +02:00
d286aae67a
refactor: move bracketed paste handling to functions and log errors
2024-09-05 16:39:13 +02:00
7b812d73ea
refactor: change a -> allocator
2024-09-02 14:31:49 +02:00
Tim Culverhouse
d4b7a6ab9b
vim: change cursor shape when only one cursor
...
In vim mode, change the cursor shape depending on the mode. This is only
applicable if `enable_terminal_cursor` is set to true and there is only
one cursor in the editor.
2024-08-26 20:49:54 +02:00
b831d99d1c
fix: remove set_terminal_style testing code
...
closes #26
2024-08-20 22:30:21 +02:00
53310cc2dd
feat: update terminal working directory on project change
2024-08-19 21:53:30 +02:00
95bf2ac9a7
refactor: remove some left over debug logging
2024-08-13 15:30:35 +02:00
7f0f8c9ed3
feat: set terminal background to match editor
2024-08-12 23:24:10 +02:00
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
752331c717
fix(vaxis): prevent panic in panic in vaxis.panic
2024-06-21 01:13:23 +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
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