3624 Commits

Author SHA1 Message Date
Mitchell Hashimoto
a9761728e9 config: comments 2023-11-09 16:52:57 -08:00
Mitchell Hashimoto
85fea9d5ee config: resolve file paths relative to their loaded file 2023-11-09 15:53:15 -08:00
Paul Jimenez
b8bfb66ad8 config: support nested/recursive config-file keys 2023-11-08 09:57:34 -05:00
Paul Jimenez
3113f9d8af config: make config-file names resolve relative to the config dir 2023-11-08 02:19:12 -05:00
Mitchell Hashimoto
d0666e523f config: packed struct fields can clone directly via copy 2023-11-07 17:09:03 -08:00
Mitchell Hashimoto
bb39bab5dc Merge pull request #839 from rockorager/no-cursor
shell-integration: implement "no-cursor" option
2023-11-07 17:07:09 -08:00
Mitchell Hashimoto
18c852d47c config: switch shell-integration-features 2023-11-07 17:05:09 -08:00
Mitchell Hashimoto
8cd3b65d0a config: packed struct of bools supported as config field 2023-11-07 15:59:56 -08:00
Mitchell Hashimoto
1a92b97c52 Merge pull request #838 from gpanders/equalize-splits
macos: add key binding for equalizing split sizes
2023-11-07 15:27:04 -08:00
Mitchell Hashimoto
d482fed7f2 simplify some swift 2023-11-07 15:26:41 -08:00
Tim Culverhouse
4fac674016 shell-integration: implement "no-cursor" option
Implement a "no-cursor" option for shell integration. This option acts
like "detect" but doesn't set the cursor shape.
2023-11-07 16:31:07 -06:00
Gregory Anders
cd01340cce macos: add key binding for equalizing split sizes 2023-11-07 16:23:28 -06:00
Mitchell Hashimoto
36dd5ef4ee Merge pull request #837 from mitchellh/utf8proc-kill
replace utf8proc with ziglyph
2023-11-07 13:26:12 -08:00
Mitchell Hashimoto
4781a83e4a replace utf8proc with ziglyph 2023-11-07 13:17:56 -08:00
Mitchell Hashimoto
2998f1a18e Merge pull request #834 from gpanders/split-binding
macos: pass split as a binding to SplitView
2023-11-07 09:58:46 -08:00
Gregory Anders
dc7c313166 macos: pass split as a binding to SplitView
Fixes: https://github.com/mitchellh/ghostty/issues/833
2023-11-07 11:55:29 -06:00
Mitchell Hashimoto
b21ee6617e Merge pull request #609 from rockorager/dev
Update mouse shape based on ability to use native text selection
2023-11-06 14:42:38 -08:00
Mitchell Hashimoto
d20c4866b1 some comments, make switch exaustive 2023-11-06 14:42:10 -08:00
Tim Culverhouse
9a64697433 mouse: set mouse to text when bypassing mouse reporting
When shift is held, we are bypassing mouse reporting mode. Change the
cursor to text to indicate this to the user. On release, change back to
whatever we were before.
2023-11-06 14:36:59 -08:00
Tim Culverhouse
c96cedcf22 mouse: set mouse as text only when not reporting mouse events
The selection mode is only valid when mouse reporting events are on. If
we have any mouse reporting events turned on, reset the mouse shape back
to default (a pointer).
2023-11-06 14:36:59 -08:00
Tim Culverhouse
49fb5c8688 gtk(mouse): use "text" enum as default value
Use the .text field of the enum as the default value of the mouse shape
instead of renaming .default. Store the default value as the current
value for use in subsequent commits
2023-11-06 14:36:57 -08:00
Mitchell Hashimoto
821a243239 Merge pull request #829 from mitchellh/blink
termio: cursor-style-blink being set disables DEC mode 12
2023-11-06 12:09:28 -08:00
Mitchell Hashimoto
268d39fe75 termio: cursor-style-blink being set disables DEC mode 12
Fixes #820

See the very long comment in termio/Exec.zig.
2023-11-06 12:06:11 -08:00
Mitchell Hashimoto
e343d6883d Merge pull request #827 from mitchellh/mods-alias
input: allow modifier aliases
2023-11-06 11:58:40 -08:00
Mitchell Hashimoto
97b1f97f6c Merge pull request #828 from gpanders/main
terminfo: fixup Sync terminfo string
2023-11-06 11:52:00 -08:00
Gregory Anders
f58478822c terminfo: fixup Sync terminfo string
The closing string on a conditional is "%;", not "%".
2023-11-06 13:48:01 -06:00
Mitchell Hashimoto
0ec225683e input: allow modifier aliases
Fixes #824
2023-11-06 11:42:51 -08:00
Mitchell Hashimoto
61b24a2f5c Merge pull request #826 from gpanders/empty-clipboard
macos: complete clipboard request even when clipboard is empty
2023-11-06 11:26:30 -08:00
Gregory Anders
8349d82179 macos: complete clipboard request even when clipboard is empty 2023-11-06 13:10:23 -06:00
Mitchell Hashimoto
4e3ab4879d Merge pull request #822 from gpanders/split-resizing
macos: implement split resizing
2023-11-06 09:35:43 -08:00
Mitchell Hashimoto
7be5eba9cb input: unit tests for pasing tuples 2023-11-06 09:23:24 -08:00
Mitchell Hashimoto
1ff81682f7 input: add format support for tuple args 2023-11-06 09:19:59 -08:00
Mitchell Hashimoto
bc0d1a9255 macos: remove focused cell size resize increment setter 2023-11-06 09:11:50 -08:00
Mitchell Hashimoto
1ff0573518 macos: use normal swiftui parameters for resizable publisher/inc 2023-11-06 09:06:20 -08:00
Mitchell Hashimoto
f8b0654a19 Merge pull request #816 from Raiden1411/feat/options
feat: add support for `--fullscreen`, `--title` and `--class` values
2023-11-06 08:55:33 -08:00
Mitchell Hashimoto
f338c09506 apprt/gtk: move default id into scope 2023-11-06 08:55:13 -08:00
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
Mitchell Hashimoto
3e0c4b0cc4 Merge pull request #823 from mitchellh/fix-macos-font-resize
fix macos font being drawn thicker when updating font size
2023-11-05 22:14:47 -08:00
Mitchell Hashimoto
fac2e470d9 inspector: add cursor style to inspector panel 2023-11-05 22:02:51 -08:00
Nawaf
b3dd363e3b fix macos font being drawn thicker when updating font size 2023-11-06 00:25:38 -05:00
Gregory Anders
582df33083 macos: use Ghostty.AppState as @EnvironmentObject
This is a small cleanup change. This provides the Ghostty.AppState
object to any view that needs it within the TerminalSplit view hierarchy
without needing to explicitly define EnvironmentKeys.
2023-11-05 20:42:59 -06:00