Commit graph

959 commits

Author SHA1 Message Date
Jonathan Marler
67613c5bc4 win32 gui: decide on aligning cells to pixel boundary 2025-01-06 07:40:58 +01:00
Jonathan Marler
456ec8535b win32 gui: fix some issues with cell sizing/alignment 2025-01-06 07:40:58 +01:00
Jonathan Marler
f2a9cb0d6a win32 gui: performance fix, don't call DrawText for space characters 2025-01-05 22:11:58 +01:00
7cbd63accd
feat(win32 gui): add direct copy to windows clipboard support
closes #100
2025-01-05 21:54:43 +01:00
Jonathan Marler
ff04602d1c win32: fix backspace 2025-01-05 20:32:37 +01:00
Jonathan Marler
d3159bf334 win32: fix keyboard issues
closes #114
closes #113
closes #108

Co-authored-by: CJ van den Berg <cj@vdbonline.com>
2025-01-05 20:05:15 +01:00
2ad6f2d0f7
feat(win32 gui): update thespian for CREATE_NO_WINDOW child process fix 2025-01-05 16:47:09 +01:00
f0586325bb
feat(win32 gui): produce both tui and gui executables for windows targets 2025-01-05 15:41:09 +01:00
0fa1e63af9
feat(win32 gui): rename gui executable to flow-gui
closes #105
2025-01-05 15:41:09 +01:00
9d9372bfe0 fix(win32 gui): send initial resize event on window creation
closes #115
2025-01-05 15:17:25 +01:00
8b43cc3697
Merge branch 'win32Gui' 2025-01-05 14:41:28 +01:00
16c9189493
fix: remove some obsolete functions and avoid panic on copy 2025-01-05 09:52:37 +01:00
6257c9d721 feat(win32 gui): add indexed color support 2025-01-04 22:42:15 +01:00
5ac80f0b6f
feat(win32 gui): add clipboard paste support 2025-01-04 21:48:47 +01:00
Jonathan Marler
5bc3cd6a6d win32 gui: implement set_terminal_title 2025-01-04 13:13:13 -07:00
Jonathan Marler
38f7cbcaab win32 gui: key translation fixes 2025-01-04 12:01:41 -07:00
Jonathan Marler
67ca29f2c8 win32 gui: handle DPI changes 2025-01-04 11:02:42 -07:00
9be68a2206
fix(win32): translate win32 virtual key codes 2025-01-04 18:01:04 +01:00
3d0bc59b0c
fix(win32): cell size calculation and don't recalculate as often 2025-01-04 17:37:52 +01:00
68d2c4d053
feat(win32): add mouse wheel support 2025-01-04 17:20:52 +01:00
33e36c080d
fix: win32 renderer event tag 2025-01-04 15:27:05 +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
01ce0eb472
fix: make gen_version_info a little more robust
closes #96
2025-01-03 14:50:39 +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
750bed8a9c fix: matching of alt+shift+ keybindings on windows 2024-12-24 12:31:47 +01:00
072d418672
build(deps): update libvaxis 2024-12-21 21:08:07 +01:00
77cae58aeb
build: make zig wrapper support nightly builds 2024-12-21 20:55:03 +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
2357c44912
build: Run all tests before building a release 2024-12-20 20:46:27 +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
8dc7a42306
refactor: remove alternate text from synthetic sync_mode_state events 2024-12-20 17:32:53 +01:00
f02fc60e1b
feat: add resulting key event detail to input view 2024-12-20 17:26:32 +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
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