Commit graph

577 commits

Author SHA1 Message Date
206e23a603
fix: crash on rendering zero width chars 2025-01-06 16:15:59 +01:00
aa95e78a80 refactor(nested config files): simplify and avoid duplicate code
Also, fix a small use after free bug.
2025-01-06 12:12:14 +01:00
Jonathan Marler
194fe70d6e feat(nested config files)
Adds a config_files option to config.json that allows the user
to specify one or more config files to load in addition to the
main config file.

For me this allows me to keep my flow configuration in a shared dotfiles
repository managed by git.
2025-01-06 12:12:14 +01:00
7cbd63accd
feat(win32 gui): add direct copy to windows clipboard support
closes #100
2025-01-05 21:54:43 +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
1fdb5f240b
fix: always enable software cursor in gui builds 2025-01-04 15:18:49 +01:00
Jonathan Marler
1a595871dd
win32 standalone gui 2025-01-04 15:18:49 +01:00
1ad6b8db3d
fix: clamp cursor to buffer in toggle_cursel_prefix 2025-01-03 21:04:32 +01:00
023298cc47
feat: add a bullet to inline diagnostic messages 2025-01-03 20:06:45 +01:00
86ca13b847
feat: don't render diagnostic messages if there is too little space 2025-01-03 20:05:38 +01:00
5a34a7ead7
fix: don't attempt to render off the bottom of the screen 2025-01-03 19:56:15 +01:00
f63b8863d1
fix: add pretty error if clipboard request is denied by terminal
closes #97
2025-01-03 14:32:20 +01:00
dd042e2fdd
feat: position cursor at closest glyph boundary on click when beam cursor is enabled
closes #99
2025-01-03 13:52:47 +01:00
18b0c217fc
feat: use smaller NL symbol 2025-01-02 22:54:07 +01:00
e3d93da9e6
fix: whitespace rendering on scroll left
This also simplifies the renderer a little.
2025-01-02 22:51:36 +01:00
919d5ee9bb
feat(whitespace): add leading, eol, tabs modes and highlight leading/trailing errors
This changes whitespace rendering to use a map of the visible viewport.
The view map makes it easy and fast to implement various whitespace
highlighting and rendering features.
2025-01-02 18:27:27 +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
afca8a86bc
feat: add configuration option default_cursor 2024-12-20 21:44:35 +01:00
deaafbefa0
feat: upgrade cursors to block cursors when multi-cursor editing
This is to match the secondary cursors which are always block cursors.
It also give some visual feedback that we are multi-cursor.
2024-12-20 21:14:17 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
closes: #85
2024-12-20 20:16:50 +01:00
1aa64b8ea4
fix: hover should convert column to byte position in LSP request
closes: #85
2024-12-20 17:56:04 +01:00
030b3cb139
refactor: show modifiers of modifiers in input view 2024-12-20 17:51:49 +01:00
f02fc60e1b
feat: add resulting key event detail to input view 2024-12-20 17:26:32 +01:00
1c087203e0
fix: escape file list contents to avoid rendering garbage 2024-12-20 15:34:29 +01:00
ca784d1712
feat: allow cursor shape configuration for mini and overlay modes 2024-12-20 13:59:08 +01:00
a0d9dede18
feat: hide line highlight when selecting if theme requires it 2024-12-18 16:22:56 +01:00
c0a9be21f5
feat: sanitize non utf-8 and display a status bar warning 2024-12-18 15:52:57 +01:00
e865a89ede
feat: render secondary/unfocused cursors with secondary cursor theme style 2024-12-17 21:22:49 +01:00
32d67a3972
feat: use terminal cursors for mini mode and overlay input boxes
closes: #80
2024-12-17 19:15:20 +01:00
ff0987c108
fix: unicode input in mini modes and palettes
closes: #81
2024-12-17 18:35:47 +01:00
e17345eff7
fix: disable fast scroll and/or jump mode when changing to mini/overlay modes
closes: #82
2024-12-17 17:15:41 +01:00
3be04c0303
fix: overflow in find_in_files on large input 2024-12-17 17:04:33 +01:00
cbc8df69d3
feat: improve filter executable not found errors 2024-12-16 23:16:44 +01:00
af68c397bc
fix: rendering of minimode separator 2024-12-12 20:12:11 +01:00
beef23703d
fix: style of home menu items when clicked 2024-12-12 19:35:46 +01:00
f7ba83fd83
refactor: prefer Plane.fill for blanking with alpha 2024-12-12 19:25:44 +01:00
fa25d250c6
fix: improve alpha rendering on gutter 2024-12-12 19:11:54 +01:00
62a4ec1400
fix: alpha rendering of status bar 2024-12-12 18:46:57 +01:00
87e1ac1eef
fix: make helix mode save file commands easier to find
closes #76
2024-12-12 17:38:50 +01:00
6d1648a761
feat: add helix-mode save_selection command
closes #76
2024-12-12 17:38:06 +01:00
69dda065c8
fix: don't leak loggers in mainview 2024-12-12 17:25:47 +01:00
4e03fc99d4
feat: add keybind status bar widget
This widget will show the state of the leader key sequence being
processed.
2024-12-12 17:04:01 +01:00
a5849a7dab
refactor: eliminate generic InvalidArgument errors
InvalidArgument is too generic and makes tracking the source of the
error potentially difficult.
2024-12-12 17:02:11 +01:00
8dea591341
feat: add simple add_split command (wip) 2024-12-11 21:24:00 +01:00
d6ea615283
refactor: store mainview views in a WidgetList 2024-12-11 21:19:22 +01:00
038ed4da2b
refactor: simplify getting the active editor and selection 2024-12-11 20:54:53 +01:00
4b3904d5f2
feat: add find_in_files_query command 2024-12-11 20:50:05 +01:00
ad43cd4395
fix: tie the position of home screen menu based to view plane 2024-12-11 20:44:39 +01:00