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
47ee1e7355
input: Binding string can be unconsumed with "unconsumed:" prefix
2023-09-29 21:34:23 -07:00
Mitchell Hashimoto
d03083c7f5
apprt/gtk: default working-directory to home if launched from desktop
...
Fixes #573
2023-09-29 15:52:45 -07:00
Patrick Fong
741606a7ab
fix grammar
2023-09-29 11:44:32 -07:00
Patrick Fong
d832507644
improve docs on font config
2023-09-29 11:42:49 -07:00
Mitchell Hashimoto
685495c896
apprt/gtk: make wide-style gtk tabs configurable
2023-09-28 08:54:15 -07:00
Tim Culverhouse
c540d18095
config: default TERM to xterm-ghostty
...
Default the TERM value to "xterm-ghostty" to prevent breaking vim.
Consider changing back to ghostty in the future
2023-09-28 09:45:57 -05:00
Tim Culverhouse
779186adc0
config: add term config option
...
Add a configuration key for the TERM environment variable. Default this
to "ghostty". Most TEs are using their name as the default TERM value.
Most modern termulators aren't even providing "xterm-" as an alias
anymore, after some drama between kitty / ncurses.
Notably, this also has issues for tcell-based applications (I've
submitted a PR to tcell to fix) because it fails if the TERM value
doesn't match the _primary_ name of the terminal in the terminfo file.
Providing a config option allows users to modify-with-persistence if
they have issues, but Ghostty should be known as Ghostty by default!
2023-09-26 12:53:41 -05:00
Mitchell Hashimoto
db3053c17e
config: update docs
2023-09-26 08:53:57 -07:00
Mitchell Hashimoto
17c0e7f75f
config: font style is a union
2023-09-26 08:13:11 -07:00
Mitchell Hashimoto
7a9a36ecb0
config: remove unused test, make parse test more intense
2023-09-24 20:49:53 -07:00
Mitchell Hashimoto
41170bb4e0
config: codepoint override font descriptors should not require monospace
2023-09-24 20:36:07 -07:00
Mitchell Hashimoto
c2cc2b8f03
core: hook up the codepoint map to the loaded font group
2023-09-24 20:35:05 -07:00
Mitchell Hashimoto
a8877d334c
config: unicode range parser is more lenient about whitespace
2023-09-24 20:32:35 -07:00
Mitchell Hashimoto
bcafbc8abb
config: add font-codepoint-map
2023-09-24 20:28:24 -07:00
Mitchell Hashimoto
7a8aea6c77
config: update some docs to clarify how to disable ligatures
2023-09-24 09:38:37 -07:00
Mitchell Hashimoto
efa6d85855
config: update docs
2023-09-24 09:15:32 -07:00
Mitchell Hashimoto
52591161bc
config: add font-style configurations
2023-09-24 09:13:25 -07:00
Mitchell Hashimoto
9421bec3a1
cli: move cli_args.zig to cli
2023-09-23 22:46:16 -07:00
Mitchell Hashimoto
8963c3b299
config: window-theme, enum support for get
2023-09-20 21:30:57 -07:00
SoraTenshi
ddb9be0971
Remove custom CAPI function
...
and use the already existing get_config function
2023-09-17 11:57:01 -07:00
SoraTenshi
4c1cf5efe3
fixup! macos: allow to hide decorations
2023-09-17 11:57:00 -07:00
SoraTenshi
ed8b5bc283
macos: allow to hide decorations
2023-09-17 11:57:00 -07:00
Will Pragnell
7db562e300
fix references to jump_to_prompt binding
2023-09-14 20:52:19 -07:00
Mitchell Hashimoto
a7bc570204
update config docs around mouse-hide-while-typing
2023-09-14 19:55:01 -07:00
Mitchell Hashimoto
a7e8b7559e
mouse-hide-while-typing config and glfw implementation
2023-09-14 17:36:21 -07:00
Mitchell Hashimoto
14724290d8
config: change osc-color-report-format enum
2023-09-14 13:15:09 -07:00
cryptocode
a3696a9185
Implement OSC 10 and OSC 11 default color queries
...
These OSC commands report the default foreground and background colors.
Most terminals return the RGB components scaled up to 16-bit components, because some
legacy software are unable to read 8-bit components. The PR follows this conventions.
iTerm2 allow 8-bit reporting through a config option, and a similar option is
added here. In addition to picking between scaled and unscaled reporting, the user
can also turn off OSC 10/11 replies altogether.
Scaling is essentially c / 1 * 65535, where c is the 8-bit component, and reporting
is left-padded with zeros if necessary. This format appears to stem from the XParseColor
format.
2023-09-14 21:41:40 +02:00
Mitchell Hashimoto
b9dba629c1
config: default cursor style has to be block
...
It appears there are programs that assume this.
2023-09-13 19:01:05 -07:00
Mitchell Hashimoto
b7f4c1d707
config: unify some error types for now
2023-09-11 13:55:06 -07:00
Mitchell Hashimoto
711e3a5043
macos: add reload configuration to the Ghostty menu bar
2023-09-11 13:49:20 -07:00
Mitchell Hashimoto
22f3fea98f
config: turn invalid config-file values into errors in the list
2023-09-11 09:46:27 -07:00
Mitchell Hashimoto
f0ee2fb454
macos: log configuration errors
2023-09-11 09:39:58 -07:00
Mitchell Hashimoto
e5123330ce
config: add ErrorList file
2023-09-11 09:17:29 -07:00
Mitchell Hashimoto
58a43f1980
config: store some basic errors on parse
2023-09-11 09:10:26 -07:00
Mitchell Hashimoto
2820db55be
config: add C API ghostty_config_get to read configuration values
2023-09-10 18:45:02 -07:00
Mitchell Hashimoto
b14ba8c022
config: extract into dedicated dir, split into files
2023-09-10 16:17:19 -07:00