Kevin Hovsäter
22b8173164
Fix typos
2023-08-08 14:27:34 +02:00
Mitchell Hashimoto
18e43ddb3f
config: support parsing enums
2023-07-06 17:56:19 -07:00
Mitchell Hashimoto
8756090266
config: add background-opacity and float parsing for config
2023-07-03 17:50:45 -07:00
Mitchell Hashimoto
6e79e84acf
config file quoted strings are accepted now
2023-06-23 13:45:48 -07:00
Mitchell Hashimoto
6f3bc5186d
update to latest zig
2022-12-21 18:30:21 -08:00
Mitchell Hashimoto
b4f5107717
config files allow spaces around "="
2022-11-21 08:22:04 -08:00
Mitchell Hashimoto
7c17497623
test that quoting config values is okay
2022-11-20 19:37:23 -08:00
Mitchell Hashimoto
23142e2ea6
config file allows and ignores empty lines, supports comments
2022-11-20 19:31:34 -08:00
Mitchell Hashimoto
d7d12d9469
explicit padding works
2022-11-14 17:13:56 -08:00
Mitchell Hashimoto
445ca8998f
cli args without arena
2022-11-13 11:21:12 -08:00
Mitchell Hashimoto
d75e869b4e
Load $XDG_CONFIG_HOME/ghostty/config
if it exists ( #25 )
...
Ghostty now loads the config file in `$XDG_CONFIG_HOME/ghostty/config` if it exists on startup. This follows the XDG base dir specification so if $XDG_CONFIG_HOME is not set, we default to `$HOME/.config/ghostty/config`.
2022-11-02 16:12:50 -07:00
Mitchell Hashimoto
53aab0a163
--font-family CLI config
2022-09-29 14:51:31 -07:00
Mitchell Hashimoto
7eac0afff2
cli args can parse null-terminated strings
2022-09-29 14:45:37 -07:00
Mitchell Hashimoto
5567564dd0
cli args fix stage1 miscompilation, add font families
2022-09-29 13:14:20 -07:00
Mitchell Hashimoto
782ddfe722
--config-file to load a config file
...
The config file is just CLI args one per line.
2022-08-01 18:04:39 -07:00
Mitchell Hashimoto
bf526fb217
cli: support multiple calls into parse without clobbering arena
2022-08-01 12:57:57 -07:00
Mitchell Hashimoto
0249f3c174
cli parsing supports modification, add "RepeatableString" as example
...
This lets values modify themselves, which we use to make a repeatable
string implementation. We will use this initially to specify config
files to load.
2022-08-01 11:54:51 -07:00
Mitchell Hashimoto
6641fcbd4c
add --font-size flag for font size in pixels
2022-07-21 21:35:49 -07:00
Mitchell Hashimoto
da359b8e36
properly copy string cli flags
2022-05-19 15:49:26 -07:00
Mitchell Hashimoto
57f257fd77
cli args support optional types
2022-05-19 15:20:28 -07:00
Mitchell Hashimoto
3b54d05aec
CLI parsing, can set default foreground/background color
2022-05-19 14:00:35 -07:00