Commit graph

264 commits

Author SHA1 Message Date
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
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
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
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
4812dd9793 fix(editor): don't leak PosToWidthCache on editor render 2024-06-13 17:36:42 +02:00
2faa5c6b9b feat: minor frame timing improvments 2024-06-10 21:43:00 +02:00
2590a1ac11 fix: prevent error.OutOfMemory when filtering very large messages 2024-06-08 20:10:17 +02:00
ee6582b469 fix: resize handling corrections 2024-06-08 20:10:17 +02:00
961e5afe41 feat: initial windows support 2024-06-07 22:12:28 +02:00
60218a06b7 feat: use language specific formatters defined in flow-syntax/file_types 2024-06-06 21:12:26 +02:00
e00ceed052 refactor: update libvaxis and remove some notcurses cruft 2024-06-05 20:06:26 +02:00
54ee8b437b feat: improve styling of minilog and logview 2024-05-27 21:28:53 +02:00
ce8ebce3c4 fix: correct fallback style on home screen menu 2024-05-26 20:44:54 +02:00
d339ac77d3 fix(vaxis): add vaxis compatible keybindings for modified F keys 2024-05-23 20:47:24 +02:00
f075ab7272 fix(vaxis): don't leave alternate screen before resetting the terminal 2024-05-22 21:24:50 +02:00
2d904d5122 fix(vaxis): prevent mouse drag operations from becoming sticking 2024-05-22 21:23:49 +02:00
5ca9e18ee2 fix(vaxis): use an independant thread for InputReader and leave it running
There is no need to unblock the input reader thread. It can be cleaned
up by the OS and signaling it wrecks our exit code.
2024-05-22 21:21:44 +02:00
49ad54d60c feat: implement remaining terminal handling functions via libvaxis 2024-05-22 10:40:08 +02:00
453fb12055 fix: add missing need_render() calls for commands that are not directly input triggered 2024-05-20 19:18:03 +02:00
26232c3af3 fix: allow wrapping in putstr calls on scrollable vaxis planes 2024-05-20 11:06:27 +02:00
b3543f520c refactor: use immediate rendering in inputview
The libvaxis backend does not support persistent rendering.
2024-05-19 21:21:17 +02:00
165d7d94b6 feat: make logview persist message when not shown 2024-05-19 21:16:05 +02:00
c32e2005b9 fix: hover and select menu styles on home screen 2024-05-18 17:02:45 +02:00
855c11292e fix: improve rendering of home screen 2024-05-18 16:49:45 +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
94e045ffe7 feat: add to_upper and to_lower commands on Alt-u and Alt-l 2024-05-12 00:10:11 +02:00
1cd3cb17ce feat: add libvaxis renderer 2024-05-10 12:44:14 +02:00
b15fa47f30 refactor: add renderer abstraction layer 2024-05-09 11:48:33 +02:00
9ff63fbed5 fix: avoid desync of tree-sitter syntax 2024-05-09 00:35:31 +02:00
5ca96aa328 fix: process drag release events in scrollbar_v 2024-04-25 18:50:06 +02:00
c2b734a8f6 fix: an early panic on startup if ~/.config does not exist 2024-04-23 21:28:29 +02:00
c79c684969 feat: minor improvements to LSP error handling 2024-04-21 00:02:24 +02:00
ef57339258 feat: add support for language server window/showMessage notifications 2024-04-20 23:47:34 +02:00
e69bd6166a feat: render language server diagnostics and add next/previous diagnostic commands
Bound to Alt-n and Alt-p
2024-04-20 00:04:46 +02:00