Commit graph

592 commits

Author SHA1 Message Date
28e9d60c1a feat(vim): add some really basic vim commands to the command palette in vim mode 2024-06-21 12:53:39 +02:00
394874fb20 feat: add alternate keybinding for command palette
For terminals that block C-S-p.
2024-06-21 12:40:50 +02:00
5cc944f0e4 docs: add foot to the list of recommended terminals 2024-06-21 12:24:25 +02:00
7810d96d23 fix(home): remove duplicate open_help keybind hint 2024-06-21 01:49:06 +02:00
deaad1e90a fix(palette): update command palette on resize 2024-06-21 01:37:48 +02:00
e7c8fea3f0 feat: add scrollbar to command palette 2024-06-21 01:20:17 +02:00
752331c717 fix(vaxis): prevent panic in panic in vaxis.panic 2024-06-21 01:13:23 +02:00
78e1951407 refactor(scrollbar): make scrollbar event source optional 2024-06-20 22:27:35 +02:00
d4019d00b2 feat: add keybind hints to command palette 2024-06-20 22:27:13 +02:00
3ea039f41c fix(tui): reset drag context when invalidating the widget tree
This prevents a segfault if dragging and navigating at the same time.
2024-06-20 22:21:49 +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
e8c59b36d3 fix(lsp): improve error reporting on LSP early exit 2024-06-20 10:06:47 +02:00
087bb3ce6e fix(windows): update thespian to prevent endless timeout errors on windows 2024-06-20 10:06:17 +02:00
b4bc8276f8 fix(palette): select first item in command palette after query 2024-06-19 17:52:53 +02:00
da5e7873d5 refactor: remove obsolete log_widgets command 2024-06-19 17:48:50 +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
0dd9cb179e feat: open the command palette when clicking the modestate widget
Instead of switching input modes, which can now be done via the
command palette instead.
2024-06-19 17:37:59 +02:00
27c5e940f5 feat: bind command palette to ':' in vim modes 2024-06-19 17:37:29 +02:00
0a3efee633 feat: add fuzzy matching to command palette 2024-06-19 17:37:09 +02:00
88a036113b fix(palette): correct resize handling in command_palette 2024-06-18 21:14:31 +02:00
c9debbabf4 fix(renderer.Loop): prevent read buffer overflow on very large escape sequences 2024-06-18 21:11:06 +02:00
d9a4e5e38d refactor(minilog): use a timer to clear the minilog
Instead of abusing the render clock.
2024-06-18 20:11:09 +02:00
86b91dc0de fix(editor): stop render clock running endlessly on restore 2024-06-18 20:04:19 +02:00
25556336b9 feat: add initial simplistic command palette implementation 2024-06-14 21:48:28 +02:00
acd65d0157 fix: menu and open_recent resize handling 2024-06-14 20:41:01 +02:00
771c1dd980 fix(tui): prevent render overload on high mouse report rates 2024-06-14 20:06:46 +02:00
701107253f fix(tui): prevent button active state from sticking 2024-06-14 19:53:57 +02:00
34bbfd49ad fix(editor): store current cursor position correctly on initial undo 2024-06-13 20:21:09 +02:00
b1faa02049 build: update libvaxis 2024-06-13 17:44:23 +02:00
4812dd9793 fix(editor): don't leak PosToWidthCache on editor render 2024-06-13 17:36:42 +02:00
3dc56ea6db fix(log): allow std.log calls outside of actor contexts 2024-06-13 16:56:49 +02:00
578b7bdbda docs: add freebsd to readme 2024-06-13 12:18:24 +02:00
6adda64efd build: add freebsd support to zig wrapper 2024-06-13 12:15:34 +02:00
af68d4386d build: update dependencies for freebsd build 2024-06-13 12:15:09 +02:00
b4c7094205 fix(Buffer): get_range should only use direction normalized selections 2024-06-13 10:39:18 +02:00
2faa5c6b9b feat: minor frame timing improvments 2024-06-10 21:43:00 +02:00
259b6c015d build: update libvaxis to fix pixel mouse and unicode 2024-06-10 21:21:58 +02:00
c1ce38daaa fix: ignore extended modifier bits 2024-06-09 00:29:12 +02:00
dc0274af31 docs: add note about cross-compiling to readme 2024-06-08 20:30:32 +02:00
c174f02a9d docs: update readme 2024-06-08 20:23:14 +02:00
2590a1ac11 fix: prevent error.OutOfMemory when filtering very large messages 2024-06-08 20:10:17 +02:00
b4a37c9eb3 fix(windows): place config and cache dirs in %APPDATA%/Roaming on Windows 2024-06-08 20:10:17 +02:00
805003cc77 fix: fallback to treating cli args with colons as plain filenames
This allows us to open files that contain colons if they do not otherwise
look like file:row:col. This also fixes opening absolute file paths on Windows.
2024-06-08 20:10:17 +02:00
4d8d538c9a fix(windows): force no-sleep mode on windows
This is possibly just a workaround. Sleeping on windows causes the task queue
to run empty even though we have pending async reads. This is possibly an
issue with asio on windows that may be difficult to fix properly. For now
we just disable sleeping altogether and leave the frame metronome running
which will keep flow alive.
2024-06-08 20:10:17 +02:00
ee6582b469 fix: resize handling corrections 2024-06-08 20:10:17 +02:00
01b78c88bd fix: don't lint in the default target as it may fail on windows 2024-06-08 16:52:48 +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
db4b3c48c4 build: clean-up unused def in build.zig 2024-06-06 23:10:53 +02:00
60218a06b7 feat: use language specific formatters defined in flow-syntax/file_types 2024-06-06 21:12:26 +02:00