Commit graph

60 commits

Author SHA1 Message Date
bf6e4f49b8
feat: set terminal cursor color to match theme 2024-11-07 10:54:43 +01:00
cbcf8cc2dd
fix: don't alpha blend selections over matches 2024-11-04 23:34:47 +01:00
1545eb988d
fix: apply foreground alpha against base foreground color 2024-11-04 23:14:15 +01:00
4e1796df27
fix: alpha rendering of buttons and palettes 2024-11-04 23:04:05 +01:00
cfb9f8cf11
refactor: remove unused parameter in set_base_style 2024-11-04 22:20:06 +01:00
0a43fa853f
feat: support rendering theme colors with alpha components 2024-11-04 22:19:45 +01:00
87addc97de
fix: crash on fade 2024-10-20 00:51:46 +02:00
2efd3dff2e
feat: dim modal backgrounds 2024-10-19 20:34:15 +02:00
d2238bf847
feat: make indent size and tab width configurable and add indent guide mode 2024-10-10 23:16:49 +02: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
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