6020 Commits

Author SHA1 Message Date
Pete Schaffner
b947ed0070 Update titlebar tabs when config changes 2024-04-05 16:40:04 +02:00
Pete Schaffner
4ede25dd00 Update standard title/tab bar when config changes 2024-04-05 15:19:55 +02:00
rok
51bfde69ba input: do not emit sequence on <BS> when their's UTF-8 text 2024-04-05 19:55:17 +09:00
Pete Schaffner
da9df865ef Merge remote-tracking branch 'upstream/main' into titlebar-unzoom-button 2024-04-05 10:49:02 +02:00
Severus
54c14bc812 Add note about GTK 4.14 2024-04-05 14:34:21 +07:00
Mitchell Hashimoto
8e0faaf6c5 Merge pull request #1651 from aca/korean-esc
input: escape can be used to clear dead key state
2024-04-04 22:18:09 -07:00
Mitchell Hashimoto
0bd673435f input: add test for esc clearing dead key state 2024-04-04 21:57:32 -07:00
Mitchell Hashimoto
3fa0df57d1 Merge pull request #1653 from mitchellh/coretext
Enable CoreText font shaper for macOS by default
2024-04-04 21:44:14 -07:00
Mitchell Hashimoto
e97b6aeefb ci: test macOS 2024-04-04 21:36:00 -07:00
Mitchell Hashimoto
eb4d21fcbf font/coretext: handle two-byte utf16 followed by more chars 2024-04-04 21:31:07 -07:00
Mitchell Hashimoto
b6f814d275 Merge pull request #1657 from qwerasd205/fix-picker
fix(inspector): cell picker in scrollback
2024-04-04 18:23:13 -07:00
Qwerasd
624ebb5b51 fix(inspector): cell picker in scrollback
Previously cell picking only worked correctly in the active area, not when scrolled in to scrollback.
2024-04-04 20:39:39 -04:00
Mitchell Hashimoto
72edec3962 Merge pull request #1655 from qwerasd205/fix-copy
Fix copy
2024-04-04 15:16:58 -07:00
Mitchell Hashimoto
3f2fc75ba6 Merge pull request #1654 from qwerasd205/update-zls
flake: update ZLS
2024-04-04 15:16:18 -07:00
Qwerasd
be07856647 fix(terminal/Screen): selectionString multi-page
Corrected logic for detecting if the current row is the end of the
selection. Previous logic was faulty because when I calculated the
current page y incorrectly, not realizing that it was already
available as `y`.
2024-04-04 17:59:42 -04:00
Mitchell Hashimoto
6ace9e9d19 font/coretext: unit tests pass on macOS 2024-04-04 14:46:46 -07:00
Qwerasd
b03f80cadd terminal/Screen: improve selectionString page test
More readable (smaller) output when failing, catches more edge cases.
At the time of this commit, this test is failing. Changed primarily to
address the edge case that was missed before.
2024-04-04 17:44:06 -04:00
Qwerasd
e224ff887f flake: update ZLS 2024-04-04 17:06:44 -04:00
Mitchell Hashimoto
1b8bae5f0a Update src/font/shape.zig
Co-authored-by: Jon Parise <jon@indelible.org>
2024-04-04 13:25:27 -07:00
Mitchell Hashimoto
13774a13bf ci: build debug build for pr builds 2024-04-04 13:11:21 -07:00
Mitchell Hashimoto
fd4d2313d0 build: do not build/link harfbuzz on macOS 2024-04-04 12:22:35 -07:00
Mitchell Hashimoto
e41e45e1ad font/coretext: face doesn't need harfbuzz font if we're not using it 2024-04-04 12:18:28 -07:00
Mitchell Hashimoto
c5bbbdb5ee font/coretext: better comment coretext shaper 2024-04-04 12:06:59 -07:00
Mitchell Hashimoto
61d3da1bf6 font/coretext: respect quirks fonts for shaper 2024-04-04 12:02:43 -07:00
Mitchell Hashimoto
b124378f5c font/coretext: remove todo for font features 2024-04-04 11:34:20 -07:00
Mitchell Hashimoto
f0b2e21548 font: enable the coretext shaper by default for CoreText faces 2024-04-04 11:33:55 -07:00
Mitchell Hashimoto
de11063679 font/coretext: shaper supports user-defined font features 2024-04-04 11:25:46 -07:00
Mitchell Hashimoto
290496d7fe pkg/macos: add missing functions to macos/foundation 2024-04-04 11:25:34 -07:00
rok
9326ae363c input: escape can be used to clear dead key state
This fixes korean input method issue on mac. When typing korean
and press escape in vim, composing korean character should remain.
2024-04-05 03:17:39 +09:00
Mitchell Hashimoto
5440fda3fb Merge pull request #1646 from msvechla/no_title
shell-integration: implement no-title option
2024-04-04 09:51:24 -07:00
Mitchell Hashimoto
54b9d4937f Merge pull request #1648 from qwerasd205/fix-copy
Fix copying selection across page boundaries
2024-04-04 09:46:09 -07:00
Mitchell Hashimoto
7db994726d Merge pull request #1650 from mitchellh/nix-zig-follow-unstable
nix: update nixpkgs-zig-0-12 (re-follow nixos-unstable)
2024-04-04 09:39:48 -07:00
Chris Marchesi
4fa8dcc58c nix: update nixpkgs-zig-0-12 (re-follow nixos-unstable)
This moves the input back to following nixos-unstable, now that
NixOS/nixpkgs#300028 is there.
2024-04-04 09:32:51 -07:00
Qwerasd
8be145ec1f fix(terminal/Sreen): selectionString across pages
Newlines after rows should only be omitted on the final row of the
entire SELECTION, not on the final row of each page/chunk.
2024-04-03 20:03:25 -04:00
Qwerasd
fa5646e762 test(terminal/Screen): selectionString across page boundaries 2024-04-03 19:28:02 -04:00
Marius Svechla
e34b373426 shell-integration: implement no-title option
This adds a new option to the shell integration feature set, `no-title`.
If this option is set, the shell integration will not automatically
update the window title.
2024-04-03 22:00:42 +02:00
Mitchell Hashimoto
f0f53bd8b1 font/shaper: fix CoreText shaper to compile with latest terminal changes 2024-04-03 10:14:17 -07:00
Pete Schaffner
e4066aaa85 Put titlebar font code where it was intended 2024-04-03 15:36:04 +02:00
Pete Schaffner
ab26863088 Merge remote-tracking branch 'upstream/main' into titlebar-unzoom-button 2024-04-03 15:25:51 +02:00
Pete Schaffner
a0a1c991b5 Fix conflicting constraints issue 2024-04-02 22:31:23 +02:00
Pete Schaffner
f086bff651 Make things work with really dark backgrounds
This fixes issue #1549
2024-04-02 22:28:34 +02:00
Mitchell Hashimoto
c1b5957cb0 Merge pull request #1642 from qwerasd205/box-drawing-fixes
font/sprite: improve rendering of dashed lines
2024-04-02 08:41:58 -07:00
Mitchell Hashimoto
0c69078f6f Merge pull request #1641 from g-cassie/fix-mac-m2-test-build
fix(build): solve issue with building tests on Apple M2.
2024-04-02 08:41:26 -07:00
Mitchell Hashimoto
eb2a2e3931 fmt 2024-04-02 08:38:51 -07:00
Mitchell Hashimoto
555f6e159f font/sprite: remove comptime arg for box drawing 2024-04-02 08:38:36 -07:00
Qwerasd
5abc63193e font/sprite: improve rendering of dashed lines
Previous implementation would draw dashes to the edge of the character
cell, which would result in double-wide dashes at the point where they
tiled. This fixes that, and also generally implements it in a cleaner
way than before.
2024-04-01 18:35:34 -04:00
Gordon Cassie
3e8193c342 fix(build): solve issue with building tests on certain apple cpus. 2024-04-01 11:45:06 -07:00
Mitchell Hashimoto
8e3c8acf76 Merge pull request #1639 from qwerasd205/kitty-image-fixes
Kitty image fixes
2024-04-01 11:01:46 -07:00
Qwerasd
04ec859925 terminal/kitty_graphics: update tests
Kitty Graphics command structures have been changed to hold decoded payloads not base64 strings.
2024-03-31 22:28:53 -04:00
Qwerasd
51d3c2cf35 fix(kitty_graphics): set dirty state on various scroll operations 2024-03-31 21:49:28 -04:00