2989 Commits

Author SHA1 Message Date
Mitchell Hashimoto
d1c993b093 pkg/tracy 2023-10-01 17:11:40 -07:00
Mitchell Hashimoto
8395bb7470 pkg/tracy 2023-10-01 17:11:04 -07:00
Mitchell Hashimoto
7bd4c96b41 remove unused deps 2023-10-01 17:04:17 -07:00
Mitchell Hashimoto
aece38ecb2 macos: fix missing symbols in archive 2023-10-01 17:03:32 -07:00
Mitchell Hashimoto
ec26fb7cee pkg/macos 2023-10-01 17:02:12 -07:00
Mitchell Hashimoto
fefbd7afbe pkg/pixman, utf8proc 2023-10-01 16:59:24 -07:00
Mitchell Hashimoto
2237b43df0 pkg/freetype, harfbuzz modules 2023-10-01 16:57:45 -07:00
Mitchell Hashimoto
bc0f5c3012 pkg/fontconfig module 2023-10-01 16:52:36 -07:00
Mitchell Hashimoto
8666ab81c3 libxev, zig-js, zig-objc 2023-10-01 16:49:02 -07:00
Mitchell Hashimoto
3ed6a02176 pkg/utf8proc 2023-10-01 16:45:39 -07:00
Mitchell Hashimoto
5d52a94792 pkg/apple-sdk: set sysroot 2023-10-01 16:39:19 -07:00
Mitchell Hashimoto
b9cc763a3a pkg/harfbuzz needs to use apple sdk for coretext 2023-10-01 15:33:40 -07:00
Mitchell Hashimoto
5feeac66b2 pkg/pixman 2023-10-01 15:04:55 -07:00
Mitchell Hashimoto
5f8dbb498f pkg/fontconfig: depend on libxml2 2023-10-01 14:55:47 -07:00
Mitchell Hashimoto
7a27228660 pkg/libxml2 2023-10-01 12:56:20 -07:00
Mitchell Hashimoto
d3746bc96f add fontconfig 2023-10-01 12:46:17 -07:00
Mitchell Hashimoto
8ef10ebf4b add build.zig.zon 2023-10-01 12:44:04 -07:00
Mitchell Hashimoto
7edb86f9e1 pkg/fontconfig 2023-10-01 12:43:36 -07:00
Mitchell Hashimoto
2312c465c6 use package manager for font stack 2023-10-01 12:32:17 -07:00
Mitchell Hashimoto
6aef48288a pkg/harfbuzz 2023-10-01 12:23:38 -07:00
Mitchell Hashimoto
7dc3fcc41e pkg/freetype 2023-10-01 12:12:05 -07:00
Mitchell Hashimoto
6e2b7c607e pkg/libpng, pkg/zlib use package manager 2023-10-01 11:25:18 -07:00
Mitchell Hashimoto
a75403990a Merge pull request #602 from mitchellh/update-zig
update zig
2023-10-01 09:26:44 -07:00
Mitchell Hashimoto
9e6cb63a1e update zig 2023-10-01 09:11:57 -07:00
Mitchell Hashimoto
a9f70f875c Merge pull request #599 from mitchellh/win-size
Add `window-width`, `window-height` configurations for initial window size
2023-09-30 21:49:40 -07:00
Mitchell Hashimoto
cec45de842 config: note gtk bug 2023-09-30 21:48:22 -07:00
Mitchell Hashimoto
769e7df675 apprt/gtk: implement default window size 2023-09-30 21:41:17 -07:00
Mitchell Hashimoto
a1a8aeb104 initial window size needs to take into account window chrome 2023-09-30 21:35:50 -07:00
Mitchell Hashimoto
cc8e1cd936 macos: support initial window size 2023-09-30 20:47:31 -07:00
Mitchell Hashimoto
8cb96a28c1 config: increase eval branches for new configs 2023-09-30 20:15:07 -07:00
Mitchell Hashimoto
604eeceb03 apprt/glfw: support window-width, window-height configurations 2023-09-30 20:10:08 -07:00
Mitchell Hashimoto
3c0700c6b0 os: launchFromDesktop works even if the artifact is a lib
Fixes #598
2023-09-30 19:09:52 -07:00
Mitchell Hashimoto
268259112b Merge pull request #597 from nfisher1226/linux_text_pointer
Set the mouse pointer to "text" (an I-beam) when it is over the gl_area
2023-09-30 15:46:33 -07:00
Mitchell Hashimoto
abf43ddfcc apprt/gtk: change default cursor to text 2023-09-30 15:46:03 -07:00
Nathan Fisher
614a9775c6 Set the mouse pointer to "text" (an I-beam) when it is over the gl_area
which the terminal embeds into for the Gtk interface. Addresses https://github.com/mitchellh/ghostty/issues/596
2023-09-30 18:26:40 -04:00
Mitchell Hashimoto
5320f1bd11 Merge pull request #595 from mitchellh/gtk-single
apprt/gtk: gtk-single-instance defaults to true only if desktop env
2023-09-30 08:54:33 -07:00
Mitchell Hashimoto
6c69f0ef63 apprt/gtk: gtk-single-instance defaults to true only if desktop env
Fixes #473

A new config value for `gtk-single-instance = desktop` is now valid.
This value uses GTK single instance mode only if it detects Ghostty was
launched from a desktop environment (i.e. clicking on the icon) through
the `.desktop` Freedesktop file. Otherwise, it disables single instance.

This enables Ghostty to work well with the CLI and accept all the
typical CLI flags. It will make Ghostty launch slower from the CLI but I
think this is an acceptable tradeoff.
2023-09-30 08:46:39 -07:00
Mitchell Hashimoto
8b8217132b Merge pull request #594 from mitchellh/gtk-prev-tab
apprt/gtk: ctrl+page-up/down for prev/next tab, does not consume input if no tabs
2023-09-29 22:22:57 -07:00
Mitchell Hashimoto
8f82f8cad6 apprt/embedded: adapt to new binding API 2023-09-29 22:13:34 -07:00
Mitchell Hashimoto
56b0cb51d5 apprt/gtk: previous_tab/next_tab action do not consume if there are no tabs 2023-09-29 22:12:38 -07:00
Mitchell Hashimoto
a85c508892 apprt/gtk: add ctrl+page-up/down as prev/next tab 2023-09-29 22:04:30 -07:00
Mitchell Hashimoto
659fa2cc66 config: keybinding clone must clone all members 2023-09-29 22:04:17 -07:00
Mitchell Hashimoto
521a2d15bb Merge pull request #593 from mitchellh/unconsumed-keys
Can configure keybinds to not consume input, a fix for clear screen and form feed
2023-09-29 21:52:03 -07:00
Mitchell Hashimoto
abc3838546 termio: clear screen always sends form feed (0x0C)
Fixes #555
2023-09-29 21:42:58 -07:00
Mitchell Hashimoto
3569073ff5 core: handle unconsumed bindings in key callbacks 2023-09-29 21:37:30 -07:00
Mitchell Hashimoto
47ee1e7355 input: Binding string can be unconsumed with "unconsumed:" prefix 2023-09-29 21:34:23 -07:00
Mitchell Hashimoto
9d0e7ab138 input: binding set can track unconsumed triggers 2023-09-29 20:18:41 -07:00
Mitchell Hashimoto
f9962a04ef recomment line 2023-09-29 20:01:26 -07:00
Mitchell Hashimoto
ecb1d19890 input: fix regression with ascii mapping to a keypad key 2023-09-29 20:00:50 -07:00
Mitchell Hashimoto
d90aba20fe Merge pull request #592 from mitchellh/gtk-desktop
apprt/gtk: default working-directory to home if launched from desktop
2023-09-29 16:03:20 -07:00