Mitchell Hashimoto
364a14d7a2
apprt/gtk: fix valid id check
2023-11-06 08:54:23 -08:00
Mitchell Hashimoto
efe9721c98
macos: honor fullscreen setting
2023-11-06 08:52:36 -08:00
Mitchell Hashimoto
3564dd5e7e
stylistic changes
2023-11-06 08:47:09 -08:00
Raiden1411
e9535a8d3e
chore: cleanup
2023-11-06 14:28:48 +00:00
Raiden1411
d2d5d4ba82
chore: cleanup
2023-11-06 14:27:36 +00:00
Raiden1411
60717cde14
chore: update fullscreen implementation
2023-11-06 14:03:44 +00:00
Raiden1411
232527c9dc
fix: fullscreen on new windows
2023-11-06 11:59:16 +00:00
Raiden1411
7fa712ab2b
chore: more comment changes
2023-11-06 11:32:25 +00:00
Raiden1411
8d526112a1
chore: update comment
2023-11-06 10:20:52 +00:00
Raiden1411
094f8effa3
fix: begin implementation of suggested changes
2023-11-06 10:19:09 +00:00
Raiden1411
467b840bcf
glfw: send warning for fullscreen
2023-11-05 15:19:29 +00:00
Raiden1411
19afbb90a7
fix: glfw build
2023-11-05 14:06:33 +00:00
Raiden1411
dff3ce6eb5
chore: add targets
2023-11-05 13:26:51 +00:00
Raiden1411
aa62d78fc2
chore: add log to setTitle
2023-11-05 12:03:08 +00:00
Raiden1411
d45415c8bf
more match fixes
2023-11-05 12:01:11 +00:00
Raiden1411
17c6496855
fix: match main
2023-11-05 11:58:44 +00:00
Raiden1411
9e9ad67d3c
feat: add support for fullscreen, title and class values
2023-11-05 11:49:25 +00:00
Mitchell Hashimoto
3e26a2f506
Merge pull request #815 from mitchellh/update-zig
...
update zig
2023-11-04 17:23:39 -07:00
Mitchell Hashimoto
1b7786a3e3
update zig
2023-11-04 17:04:24 -07:00
Mitchell Hashimoto
ebd57f6bbc
apprt/gtk: correct new tab button click function signature
...
Fixes #674
We were incorrectly reusing the action activate signal callback for the
button click. These have different function signatures.
2023-11-04 16:57:01 -07:00
Mitchell Hashimoto
06a469fc4b
core: do not consider bracketed pastes unsafe
2023-11-04 12:08:34 -07:00
Mitchell Hashimoto
85d4a9a572
Merge pull request #812 from mitchellh/feature/clipboard-safety
...
GTK Feature: Clipboard Safety
2023-11-04 11:28:55 -07:00
Mitchell Hashimoto
43e1c9f147
apprt/gtk: tweak unsafe paste window
2023-11-04 11:27:39 -07:00
Mitchell Hashimoto
254365afab
terminal: add sanitize.zig
2023-11-04 11:25:02 -07:00
Mitchell Hashimoto
ab9a9b6eb1
apprt/gtk: copy change for unsafe paste window
2023-11-04 11:24:48 -07:00
Mitchell Hashimoto
a38220eade
terminal: move sanitization check to this package, unit test
2023-11-04 11:19:25 -07:00
David Rubin
65c9ba0a86
add todos + make sure non-implimented platforms still work.
2023-11-04 00:50:26 -07:00
Mitchell Hashimoto
cc8c6c78ef
Merge pull request #811 from mitchellh/ct-score-style
...
font/coretext: discovery scoring should take into account symb. traits
2023-11-03 22:35:00 -07:00
Mitchell Hashimoto
cb684e35cc
font/coretext: discovery scoring should take into account symb. traits
...
Fixes #707
Our scoring algorithm previously did not take into account symbolic
traits, so when `bold = false and italic = false`, regular, bold, italic
would all be equally likely to appear first.
This modifies our scoring algorithm to prioritize matching symbolic
traits. Further, we have a special case for no symbolic traits to
prioritize "Regular" named styles. We can expand this to other styles
too but we do not do this here.
We also modified the algorithm to always prefer fonts with more glyphs
over fonts with less, hopeful that we can load fewer fonts for other
glyphs later.
2023-11-03 22:21:34 -07:00
Mitchell Hashimoto
05e73ace36
Merge pull request #789 from Raiden1411/main
...
feat(actions): add new `list-keybinds` action
2023-11-03 17:55:59 -07:00
Mitchell Hashimoto
e73d3db497
cli/list-keybindings: stylistic changes
2023-11-03 17:51:34 -07:00
Mitchell Hashimoto
debeba99db
input: Binding.Trigger format
2023-11-03 17:48:19 -07:00
Mitchell Hashimoto
cb4bb8aaf6
input: add Binding.Action.format to convert action to string
2023-11-03 15:57:14 -07:00
David Rubin
a578ec342f
forgot to update other backends
2023-11-03 14:20:24 -07:00
Mitchell Hashimoto
9e7493c4d4
Merge pull request #806 from dvorakluk/fix/balanced-pointToViewport
...
fix: posToViewPort when balanced padding enabled
2023-11-03 14:15:13 -07:00
xdBronch
205b27dc80
remove deps that were already provided by other packages ( #797 )
2023-11-03 14:04:00 -07:00
David Rubin
6e575d9035
configs added
2023-11-03 13:20:26 -07:00
David Rubin
44073e4c98
add basic functionality
2023-11-03 10:58:56 -07:00
Lukáš Dvořák
8774a73302
update comment
2023-11-03 18:30:42 +01:00
Lukáš Dvořák
5224b6157c
fix: posToViewPort when using balanced padding enabled
2023-11-03 18:28:34 +01:00
Mitchell Hashimoto
3eb91b8f00
Merge pull request #804 from mitchellh/macos-demini
...
macos: deminiaturize on new tab
2023-11-03 09:37:29 -07:00
Mitchell Hashimoto
3bef50f0cf
macos: deminiaturize on new tab
2023-11-03 09:35:14 -07:00
Mitchell Hashimoto
f3a4c754c2
Merge pull request #803 from mitchellh/more-macos
...
More macos fixes
2023-11-03 09:18:08 -07:00
Mitchell Hashimoto
cad461fff7
macos: modify tabbing mode when entering/exiting fullscreen
...
Related to #799
With tabbing mode disabled, fullscreen (native) windows when creating a
new tab creates a window in the tab bar, but ALSO puts the window into a
new "screen" on macOS. When you click the tab bar, macOS animates
between screens. Its jarring!
This commit makes it so that in fullscreen we go back to automatic
tabbing even for new windows, which produces new windows within a tab.
This is normal default behavior for macOS tabbed programs. When you are
not in fullscreen or exit fullscreen, then the tabbing mode returns to
disabled so Ghostty can manage it.
2023-11-03 09:16:55 -07:00
Mitchell Hashimoto
c6ce9aea4a
macos: do not set window initial size if fullscreen
...
Fixes #798
2023-11-03 09:06:17 -07:00
Mitchell Hashimoto
5806903c48
Merge pull request #801 from gpanders/new-window-fixup
...
More macOS fixups
2023-11-03 08:58:50 -07:00
Mitchell Hashimoto
de45191559
Merge pull request #802 from gpanders/sync-terminfo
...
terminfo: add missing % character after conditional
2023-11-03 08:56:05 -07:00
Gregory Anders
ffaf1f6a6f
terminfo: add missing % character after conditional
...
Not sure this is _strictly_ necessary, but according to terminfo(5) a
conditional (`%?`) should have a closing `%` character after the "else"
part. Adding it just in case some parser somewhere depends on this.
2023-11-03 08:53:36 -07:00
Gregory Anders
6c340810a5
macos: fix tab labeling
...
Fixes a regression introduced in
https://github.com/mitchellh/ghostty/pull/772 .
2023-11-03 07:40:56 -07:00
Gregory Anders
a844613a26
macos: always create new window on New Window action
...
Fixes: https://github.com/mitchellh/ghostty/issues/799
2023-11-03 07:34:17 -07:00