e9735d9425
feat: more improvements to panic handling
...
Follow on panics no longer confuse the panic output and the just in
time debugger now works properly on the local tty.
2025-07-14 18:02:21 +02:00
21551795ad
feat: install signal crash handler to reset terminal before dumping stack traces
...
This currently requires cloning std.debug to grant access to the standard trace
dump handler. Hopefully in future this could be made public in the standard
library.
2025-07-01 17:34:41 +02:00
717bef9c61
build: update to latest libvaxis and zg api
2025-06-04 22:22:52 +02:00
b3c5f4cbb9
feat: stop rendering on panic
...
This improves backtraces for panics on background threads.
2025-04-30 11:34:41 +02:00
8355f14f62
fix: bracketed paste should check for ctrl+j and insert \n
...
closes #236
2025-04-28 22:58:55 +02:00
c3cda5b7fe
build: update thespian to use separate cbor package
2025-03-26 20:41:44 +01:00
a1b2737c5d
feat: use explicit error handling for all startup errors
2025-03-25 17:24:34 +01:00
a28edbe194
Merge branch 'master' into zig-0.14
2025-02-24 18:27:42 +01:00
9145637134
fix: add workaround for conpty ul color escape sequence parser bug
...
closes #191
2025-02-24 18:20:47 +01:00
d4e4271831
Merge branch 'master' into zig-0.14
2025-02-11 18:44:17 +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
244e5ca9d7
feat(tui): add explicit width support
2025-02-05 16:42:21 +01:00
53045123c6
build: update to zig 0.14.0-dev.3039
2025-02-04 22:59:18 +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