Mitchell Hashimoto
fc30fdfb2b
renderer: do not free new configuration on change
...
Fixes #1271
2024-01-09 21:05:27 -08:00
Mitchell Hashimoto
3a4cd3f8e4
Merge pull request #1270 from mitchellh/select-all
...
macos: add Edit => Select All menu item
2024-01-09 20:55:07 -08:00
Mitchell Hashimoto
afb1fea48b
macos: add Edit => Select All menu item
...
Fixes #1268
2024-01-09 20:54:23 -08:00
Mitchell Hashimoto
e27b0b45cb
Merge pull request #1269 from mitchellh/p3
...
macos: support Display P3 colorspace through configuration
2024-01-09 20:50:38 -08:00
Mitchell Hashimoto
44544f29b2
macos: support Display P3 colorspace through configuration
...
Fixes #1214
This introduces the `window-colorspace` configuration which allows
configuring the colorspace to use for windows on macOS. The default is
sRGB (same as before) but this can also be set to `display-p3`.
2024-01-09 20:47:07 -08:00
Mitchell Hashimoto
7b931b4fcc
Merge pull request #1267 from mitchellh/keypad
...
input: manage application keypad state with mode 1035
2024-01-09 12:07:25 -08:00
Mitchell Hashimoto
cba27e26cf
input: manage application keypad state with mode 1035
...
Fixes #1099
We previously applied application keypad mode logic (`ESC=` or mode 66)
whenever it was active. However, from looking at the behavior of other
terminals (xterm and foot) it appears this isn't correct.
For xterm, application keypad mode only applies unconditionally if the
keyboard mode is VT220 (`-kt vt220`). For modern terminals, application
keypad mode is only applied if mode 1035 is disabled.
Mode 1035 is the "ignore numpad state with keypad mode" mode. It
defaults to true on terminal startup. If this is true, keypads are
always encoded in numerical mode. If this is false, the numlock state
will be respected.
2024-01-09 11:57:09 -08:00
Mitchell Hashimoto
dcc3c17738
input: missing kp_begin encoding entry
2024-01-09 10:52:49 -08:00
Mitchell Hashimoto
9358c3b32c
Merge pull request #1266 from mitchellh/shader-animation
...
custom shader animation can be set to "always" to always remain active
2024-01-09 09:31:36 -08:00
Mitchell Hashimoto
96d33fef20
custom shader animation can be set to "always" to always remain active
...
Fixes #1225
The `custom-shader-animation` configuration can now be set to "always"
which keeps animation active even if the terminal is unfocused.
2024-01-09 09:21:15 -08:00
Mitchell Hashimoto
92697bad12
update README
2024-01-09 08:59:19 -08:00
Mitchell Hashimoto
b37293bcc0
Update README.md
2024-01-09 08:58:56 -08:00
Mitchell Hashimoto
a66d221bd5
Merge pull request #1265 from mitchellh/update-nix-zig
...
update zig 0.12 nixpkgs
2024-01-08 20:24:29 -08:00
Mitchell Hashimoto
49d9e7aa5d
update zig 0.12 nxpkgs
2024-01-08 19:04:51 -08:00
Mitchell Hashimoto
3b5a1fe8f1
Merge pull request #1264 from tristan957/fixes
...
fix: update code to compile with 0.12.0-dev.2075+f5978181e
2024-01-08 19:03:39 -08:00
Mitchell Hashimoto
522f61ff7d
update zig
2024-01-08 18:37:19 -08:00
Tristan Partin
d2813655e5
fix: update code to compile with 0.12.0-dev.2075+f5978181e
2024-01-08 20:08:10 -06:00
Mitchell Hashimoto
cfdf6cf312
Merge pull request #1259 from rockorager/kitty-associated
...
input: never report associated text on key release
2024-01-08 08:13:30 -08:00
Mitchell Hashimoto
baf8e04287
input: add unit test for no associated text on release
2024-01-08 08:12:54 -08:00
Mitchell Hashimoto
39468757c6
Merge pull request #1260 from mitchellh/font-italic
...
font: auto-italic should only apply to text presentation
2024-01-08 08:04:33 -08:00
Mitchell Hashimoto
bc80073ffd
core: add emoji fallback on macOS after built-in font
...
This doesn't fix any issues, but it slightly improves performance since
we'll try our text font first which is most likely to hit most input.
2024-01-08 08:01:17 -08:00
Mitchell Hashimoto
ab606c6cfd
font: autoitalic should only apply to text presentation
...
Fixes #1256
2024-01-08 07:57:42 -08:00
Tim Culverhouse
e90a6ee19f
input: never report associated text on key release
...
Associated text should only be reported when it was generated from the
key event. To my knowledge, there are no release events which produce
text. This now matches kitty reporting for release events.
2024-01-08 07:32:18 -06:00
Mitchell Hashimoto
4498bb77f3
Merge pull request #1254 from mitchellh/underflow
...
font/shaper: prevent underflow in multi-cell lig detection
2024-01-07 22:23:53 -08:00
Mitchell Hashimoto
2082751a65
font/shaper: prevent underflow in multi-cell lig detection
...
Fixes #1251
See the comment for details.
2024-01-07 22:16:11 -08:00
Mitchell Hashimoto
e63870c094
Merge pull request #1252 from KNnut/typo
...
readme: fix a typo
2024-01-07 22:00:32 -08:00
KNnut
a2e6c6b86b
readme: fix a typo
2024-01-08 10:24:48 +08:00
Mitchell Hashimoto
ba45e4120e
Merge pull request #1248 from der-teufel-programming/main
...
WIP: Update Ghostty to use the new build system API
2024-01-07 15:34:38 -08:00
Mitchell Hashimoto
ad0db1d2ae
nix: update hash
2024-01-07 15:30:56 -08:00
Mitchell Hashimoto
fa0d7e963a
Merge pull request #1249 from mitchellh/constrain-dingbats
...
renderer: constrain dingbats unicode block to cell size
2024-01-07 15:06:11 -08:00
Mitchell Hashimoto
62e5234da4
renderer: for constrained cells, offset was being doubled
...
This helps better preserve the centerline for constrained glyphs
2024-01-07 15:02:56 -08:00
Mitchell Hashimoto
f7c558e733
renderer: constrain dingbats category to cell size
...
Dingbats are generally symbolic glyphs that frequently overflow the
cell. Their defined codepoint width is "1" so they take one cell but
very often overflow to the next.
This extends the previously created logic for Nerd Font symbols such
that when a dingbat is next to whitespace, we allow it to use the full
size, but when a dingbat is next to an occupied cell we constrain it to
the cell size.
2024-01-07 14:54:15 -08:00
Krzysztof Wolicki
df19a68dd6
Update mach-glfw dependency
2024-01-07 23:38:17 +01:00
Chris Marchesi
477a79087b
nix: update nixpkgs-zig-0-12 input, also cache hash
...
This updates zig_0_12 to be built off of 0.12.0-dev.2059+42389cb9c.
Additionally, we update the cache hash.
2024-01-07 13:56:07 -08:00
Krzysztof Wolicki
b4a08dd5f1
Update mach-glfw dependency
2024-01-07 22:45:59 +01:00
Krzysztof Wolicki
42eed75b64
Update mach-glfw dependency
2024-01-07 21:52:00 +01:00
Krzysztof Wolicki
3c78df70fb
Maybe this will help macos
2024-01-07 21:39:53 +01:00
Mitchell Hashimoto
f6e93c8748
ci: release should only run with a main main ref
2024-01-07 12:34:36 -08:00
Mitchell Hashimoto
162ebaa8fa
Merge pull request #1246 from rbino/linux-xft-dpi
...
linux: consider Xft.dpi to scale the content
2024-01-07 12:29:13 -08:00
Mitchell Hashimoto
b62c78b61d
apprt/gtk: stylistic changes
2024-01-07 12:25:56 -08:00
Krzysztof Wolicki
46530b572e
Merge branch 'main' of github.com:der-teufel-programming/ghostty
2024-01-07 21:22:19 +01:00
Krzysztof Wolicki
b27fc44837
Link frameworks to macos module conditionally
2024-01-07 21:22:09 +01:00
Mitchell Hashimoto
8db0697b5d
nix: update hash
2024-01-07 12:18:11 -08:00
Krzysztof Wolicki
2f5bcf2e27
Attempt to fix building on macos
2024-01-07 21:17:17 +01:00
Mitchell Hashimoto
a8a42c8658
fix macos zig build test
failures
2024-01-07 12:10:48 -08:00
Mitchell Hashimoto
c1bde28af4
update flake
2024-01-07 12:03:23 -08:00
Krzysztof Wolicki
5698607a1c
Clean pkg/fontconfig/build.zig
2024-01-07 20:54:22 +01:00
Krzysztof Wolicki
9964a55d47
Update source for zig-build-macos-sdk for pkg/apple-sdk
2024-01-07 20:48:00 +01:00
Krzysztof Wolicki
12f4210558
Update required zig version to 0.12.0-dev.2063+804cee3b9
2024-01-07 20:42:30 +01:00
Krzysztof Wolicki
54e866d16e
Change source of mach_glfw to experimental branch in fork
2024-01-07 19:25:06 +01:00