Mitchell Hashimoto
55f681a0fd
inspector is scaled to native dpi
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
d65b29a537
apprt/embedded: render inspector
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
865bf7441c
apprt/gtk: initialize and run the inspector
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
7a30d1080e
core: hook up all the inspector activation state and such
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
dcb6eef9c4
apprt/gtk: different bg color for imgui widget
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
522d6b8ba1
apprt/gtk: destory the inspector properly on close
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
6a50a938d6
apprt/gtk: button to toggle inspector
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
199e1cae29
apprt/gtk: surface has inspector state
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
29bbcbbf92
core: add input binding to control terminal inspector
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
92d172377e
macos: don't do full surface-style key translation for imgui
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
ddd7ff4bbb
apprt/gtk: use shared key => imgui key helper
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
52ccef3b8e
macos: only re-render the inspector when requested
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
d50ff6ece7
macos: complete cimgui events
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
2c40183c3c
macos: rendering basic imgui
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
775a734892
apprt/gtk: use new imgui opengl API
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
f3d99efcd8
apprt/gtk: imgui widget calls callback to populate imgui frame
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
c0ace7a29e
apprt/gtk: complete imgui backend
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
869e4133f1
apprt/gtk: can render imgui
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
a60f9eb9e6
apprt/gtk: empty inspector window
2023-10-24 15:27:13 -07:00
Mitchell Hashimoto
4b1809f35e
add empty Inspector file
2023-10-24 15:27:13 -07:00
Mitchell Hashimoto
7a1c54ad05
update zig
2023-10-24 15:02:26 -07:00
Mitchell Hashimoto
aee05d9e99
terminal: deleteLines has to reset wrap state on blank lines
2023-10-24 12:50:06 -07:00
Mitchell Hashimoto
66d97ab5f3
terminal: do not attach grapheme to empty cell
2023-10-24 12:20:37 -07:00
Mitchell Hashimoto
1457bcec90
terminal: deleteCharacters should clear wide spacer tails if split
2023-10-24 12:10:41 -07:00
Mitchell Hashimoto
62475fd709
terminal: ICH should only run with no intermediates
2023-10-24 09:43:06 -07:00
Mitchell Hashimoto
ec26cc4b41
terminal: insert blanks (ICH) with left/right and large count
2023-10-24 09:38:47 -07:00
Mitchell Hashimoto
e6a23be99a
terminal: cub with reverse mode on left margin
2023-10-24 09:26:34 -07:00
Mitchell Hashimoto
96d5ca3604
terminal: horizontal tab back should handle cursor already left margin
2023-10-24 08:45:07 -07:00
Mitchell Hashimoto
cbdf52864a
Merge pull request #704 from der-teufel-programming/windows-test
...
Get `zig build test` working on Windows
2023-10-23 08:52:43 -07:00
Mitchell Hashimoto
4a199448a2
os: update todo about subsystem for windows
2023-10-23 08:48:53 -07:00
Mitchell Hashimoto
3226cbf61b
os: remove some duplication in the env var check for xdg config
2023-10-23 08:47:16 -07:00
Erlend Lind Madsen
7d99a6063b
config: comment regarding font-family config reload
2023-10-22 20:49:22 +07:00
Brandon Ferguson
17957b8fb3
If the locale isn't supported and falls back to the POSIX/C locale, use en_US.UTF8
2023-10-21 10:33:26 -07:00
Matthew Winter
c49c300c3a
fix: adjust for window padding when calculating whether selection has started
2023-10-21 08:48:06 -07:00
Mitchell Hashimoto
88ad94b22e
Merge pull request #703 from jparise/quit-after-last-window-closed
...
config: add quit-after-last-window-closed
2023-10-19 20:09:02 -07:00
Mitchell Hashimoto
3a26812e6a
config: update doc comment
2023-10-19 20:08:37 -07:00
Mitchell Hashimoto
088ae5c454
fix build with no font discovery
2023-10-19 19:43:04 -07:00
Krzysztof Wolicki
f4a2273ad9
os/xdg: Avoid allocations on non-Windows systems.
...
os/desktop: Add TODO
2023-10-19 17:22:11 +02:00
Krzysztof Wolicki
3936b471a8
Disable iconv on Windows by default (enabled via cli flag).
...
Skip various tests not implemented on windows.
2023-10-19 09:39:20 +02:00
Jon Parise
17b63f7617
config: add quit-after-last-window-closed
...
Whether or not to quit after the last window is closed. This defaults
to false. Currently only supported on macOS.
2023-10-18 14:03:32 -07:00
Mitchell Hashimoto
a5066635f0
renderer: do not downsample oversized glyphs
...
Fixes #696
We should rely on the rasterizer to create glyphs of the proper size,
including doing CPU resizing if necessary.
2023-10-17 10:55:04 -07:00
Mitchell Hashimoto
ab35a21dc2
renderer: render cursor behind colored emoji
2023-10-16 12:57:23 -07:00
Mitchell Hashimoto
0918731d9a
renderer/metal: need to set proper alpha for fg mode in shader
...
Fixes #673
2023-10-16 12:22:51 -07:00
Mitchell Hashimoto
407bd6fb79
terminal: with mode 2027, vs16 must move cursor one more right
...
Fixes #680
2023-10-16 09:48:05 -07:00
Mitchell Hashimoto
12054087e1
terminal: scroll up full top/bottom region was off by one
...
Fixes #689
See test cases, verified with xterm.
2023-10-16 09:25:47 -07:00
Mitchell Hashimoto
1c0fd2442b
Merge pull request #688 from mitchellh/dsr
...
xterm audit: cursor position report (CPR)
2023-10-15 22:00:10 -07:00
Mitchell Hashimoto
7b81eba565
terminal: cursor position report respects left scroll region with origin
2023-10-15 21:58:13 -07:00
Mitchell Hashimoto
c382f61a32
Merge pull request #687 from mitchellh/cancel
...
renderer: handle error.NotFound for timer cancellation
2023-10-15 21:44:42 -07:00
Mitchell Hashimoto
78b5c1db77
renderer: handle error.NotFound for timer cancellation
...
Fixes #685
This is expected in very rare scenarios where under heavy load, a timer
could complete before a cancellation request is processed, resulting in
a "not found".
2023-10-15 21:35:13 -07:00
Mitchell Hashimoto
06f7cfb398
terminal: save cursor and restore cursor xterm audit
2023-10-15 21:25:47 -07:00