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
Mitchell Hashimoto
879bdf27a9
core: scroll viewport back to bottom on any key input that isn't a mod
...
Fixes #619
This changes the behavior from requiring printable text to any input
that isn't a modifier and also generates some data we send to the pty.
If there is printable text, we also clear the selection.
2023-10-15 08:53:38 -07:00
Mitchell Hashimoto
de1ed071ad
termio: configure OSC parser with an allocator
2023-10-15 08:41:38 -07:00
Mitchell Hashimoto
cfac6c4001
terminal: OSC parser takes optional allocator
...
OSC 52 is the only command that uses this today. If the allocator is
present it will use it to store the clipboard contents.
2023-10-14 21:49:10 -07:00
Mitchell Hashimoto
b4070eb67e
renderer: unfocused cursor should always be fully opaque
2023-10-14 14:11:15 -07:00
Mitchell Hashimoto
ff38d3e358
config: add cursor-opacity
2023-10-14 14:08:06 -07:00
Mitchell Hashimoto
7167cf9054
renderer: default cursor color to foreground
...
Fixes #667
2023-10-14 14:02:17 -07:00
Mitchell Hashimoto
a75d42b4a5
core: allow arrow key on scroll to fail write to IO
...
Fixes #625
This only applies if there is a LOT of scroll events. In that case,
clamping the scroll events to whatever our IO thread can handle seems
fine. An alternate approach is to allocate.
2023-10-14 10:53:20 -07:00
Mitchell Hashimoto
59140f593b
terminal: VS16 should make a narrow char take up two cells in mode 2027
2023-10-14 10:43:50 -07:00
Mitchell Hashimoto
529d1f016f
terminal: when clearing previous wide character, preserve SGR state
2023-10-13 15:15:14 -07:00
Mitchell Hashimoto
880252fd1d
terminal: printing over wide spacer tail should clear wide char
2023-10-13 14:45:40 -07:00
Mitchell Hashimoto
4f5a05e087
renderer: render cursor over wide character if on tail part
2023-10-13 14:39:10 -07:00
Mitchell Hashimoto
7995d44cfb
font: render sprites with a configurable grid cell width
...
Fixes #666
2023-10-13 14:31:55 -07:00
Mitchell Hashimoto
1411015038
font: fallback search should search full discovery chain
...
Fixes #668
We were previously only checking the first font result in the search.
This also fixes our CoreText scoring algorithm to prioritize faces that
have the codepoint we're searching for.
2023-10-13 12:25:27 -07:00
Mitchell Hashimoto
5ce50d08a1
terminal: linefeed mode
2023-10-12 20:46:26 -07:00
Mitchell Hashimoto
853c0427e6
website: document srm mode
2023-10-12 19:38:06 -07:00
Mitchell Hashimoto
89d2827910
terminal: insert mode tests, fix insertBlanks multi-cell char split
2023-10-12 19:24:27 -07:00
Mitchell Hashimoto
6a065540dd
terminal: KAM (mode 2)
...
This has an associated config `vt-kam-allowed` which defaults to "false"
since this mode can cause the terminal to become mostly unusable. We
include this mode for completions sake however.
2023-10-12 17:07:47 -07:00
Mitchell Hashimoto
d97e5b9dab
input: legacy encoding pc style keys should ignore directional modifiers
2023-10-12 12:28:26 -07:00
Mitchell Hashimoto
17430a1250
terminal: index handles left/right regions
2023-10-12 08:31:28 -07:00