13 Commits

Author SHA1 Message Date
SoraTenshi
4c1cf5efe3 fixup! 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
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