Commit graph

106 commits

Author SHA1 Message Date
Jonathan Marler
99aefc8d22 remove direct2d dependency and update zigwin32
Since we removed the direct2d renderer we no longer need to reference
the direct2d-zig repository.  Instead we now directly reference the
zigwin32 repository.  I've also updated that repository with a few fixes
and additions which allowed us to remove some code from flow.
2025-01-21 08:40:44 +01:00
7dd61c4ba5
fix(keybind): provide fallback handling for legacy terminals the don not provide shifted key info 2025-01-19 14:05:36 +01:00
e1b1591167
feat(win32 gui): add font selection palette
closes #102
2025-01-17 20:32:20 +01:00
6530a7a51c
feat(win32 gui): add reset_fontsize and rest_fontface commands 2025-01-14 19:54:51 +01:00
Jonathan Marler
5b83619f7a win32 gui: replace D2D renderer with D3d11 shader 2025-01-13 05:06:57 -07:00
7d138a742c feat(win32 gui): add set_fontface and set_fontsize commands 2025-01-10 23:10:59 +01:00
5300e3346d feat(win32 gui): add adjust_fontsize command to zoom in/out 2025-01-09 20:08:12 +01:00
9e4e81eb0d
feat(win32 gui): read fontface and size from gui_config 2025-01-08 15:57:38 +01:00
6d7a316abb
fix(win32 gui): remove warning about set_terminal_cursor_color implementation
It won't be implemented until we support terminal cursor rendering.
2025-01-08 12:22:12 +01:00
4f068365c6
fix(wind32 gui): remove renderer.deinit not implemented warning
Looks implemented enough to me.
2025-01-08 12:19:31 +01:00
e8c6c9d921
fix(win32 gui): remove unused function copy_to_system_clipboard 2025-01-08 12:16:15 +01:00
bccacaf1c8
fix(win32 gui): remove log message in set_terminal_working_directory 2025-01-08 12:14:29 +01:00
Jonathan Marler
337b6ce626 win32 gui: rework startup/hwnd sync 2025-01-07 22:02:16 +01:00
b73975328b
fix: normalized vaxis windows console input 2025-01-07 16:04:07 +01:00
0c7f19b5dd feat: support matching of shifted keybindings
This allows us to bind things like alt+F and ctrl+?. Binding
with and explicit shift modifier is still allowed, such as alt+shift+f.
2025-01-07 14:53:34 +01:00
4c73948068
feat(win32 gui): send terminal background updates to gui 2025-01-07 10:31:17 +01:00
93d6ee2626
fix(win32 gui): set window title after gui window is created 2025-01-06 16:49:57 +01:00
29a99eefee
fix(win32 gui): remove missed renders warning 2025-01-06 15:55:33 +01:00
a6b29e4fe9
feat(win32 gui): issue quit command on window close and exit cleanly 2025-01-06 10:56:36 +01:00
Jonathan Marler
21a7106fe3 win32 gui: mouse drag
initial implementation for left mouse drag
2025-01-06 08:35:16 +01:00
7cbd63accd
feat(win32 gui): add direct copy to windows clipboard support
closes #100
2025-01-05 21:54:43 +01:00
9d9372bfe0 fix(win32 gui): send initial resize event on window creation
closes #115
2025-01-05 15:17:25 +01:00
16c9189493
fix: remove some obsolete functions and avoid panic on copy 2025-01-05 09:52:37 +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
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
Jonathan Marler
1a595871dd
win32 standalone gui 2025-01-04 15:18:49 +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
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
8dc7a42306
refactor: remove alternate text from synthetic sync_mode_state events 2024-12-20 17:32:53 +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
ff0987c108
fix: unicode input in mini modes and palettes
closes: #81
2024-12-17 18:35:47 +01:00
fd648b7b07
fix: foreground color alpha calculation 2024-12-12 21:19:35 +01:00
af68c397bc
fix: rendering of minimode separator 2024-12-12 20:12:11 +01:00
fa25d250c6
fix: improve alpha rendering on gutter 2024-12-12 19:11:54 +01:00
4ec66be2d4
feat: add short key event formatters 2024-12-12 17:00:39 +01:00
ce0633b665
refactor: don't require zero termination any more for Plane.cell_load 2024-12-10 20:09:16 +01:00
3af2b09891
feat: generate hints for dynamic keybindings 2024-11-19 18:08:14 +01:00
a8826b5067
refactor: move KeyEvent to input module 2024-11-18 21:31:32 +01:00
5d381dcc7b
refactor: move formatters for input types to input module 2024-11-18 21:26:55 +01:00
a680f50771
fix: always treat control codes as width 1 characters
closes: #64
2024-11-18 10:50:46 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
8308be76cd
fix: update libvaxis and use stable upstream URL for zg 2024-11-14 15:38:42 +01:00
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