Mitchell Hashimoto
760a250029
config: formatted action should be parsable into the original (#13609)
This fixes the issue where an action with string as it's parameter is
not working correctly in CommandPalette, found in #9671. For example:
```
command-palette-entry = title:"Set Ghostty Title",description:test sending text.,action:set_tab_title:👻
keybind=cmd+r=set_tab_title:👻
```
Keybind works perfectly, but the title is escaped when triggering in
CommandPalette.
> Introduced in
[#8873](https://github.com/ghostty-org/ghostty/pull/8873/changes#diff-9e7936787320bcf70e332c868125039d8c0a7f96c4a88f2af0af21d952c6830dR1216),
I tested the fixed issue as well, the following config still parses
correctly, mentioned in
https://github.com/ghostty-org/ghostty/issues/8849#issuecomment-3322018212.
```
command-palette-entry = title:Focus Split: Next,description:"Focus the next split, if any.",action:goto_split:next
```
Also `ghostty +show-config` now will also output the readable strings as
well.
<img width="1078" height="428" alt="image"
src="https://github.com/user-attachments/assets/f9dc1447-7b4e-44f4-8362-b54f4d805c7a"
/>
2026-08-04 11:19:37 -07:00
..
2026-08-04 08:53:39 -07:00
2026-08-03 20:50:33 -07:00
2026-08-04 11:04:29 +03:00
2026-08-02 20:24:30 -07:00
2026-08-04 06:43:38 -07:00
2026-08-02 20:24:30 -07:00
2026-08-04 19:46:26 +02:00
2026-03-15 20:58:43 -04:00
2026-08-03 18:22:23 -04:00
2026-08-04 11:19:37 -07:00
2026-08-01 14:16:20 -07:00
2026-07-30 08:51:38 -07:00
2026-08-04 11:04:29 +03:00
2026-08-03 19:07:42 -04:00
2026-07-12 17:25:55 -05:00
2026-07-21 17:19:16 -07:00
2025-10-03 18:52:26 +02:00
2026-08-03 19:50:20 -07:00
2026-08-03 20:50:33 -07:00
2026-07-21 12:35:05 -07:00
2026-08-03 15:28:01 -04:00
2026-07-21 17:19:16 -07:00
2026-07-21 12:35:05 -07:00
2025-11-27 13:37:53 -08:00
2025-11-27 13:37:53 -08:00
2025-07-09 15:06:24 -07:00
2026-07-22 08:07:06 -07:00
2026-04-27 01:27:22 +10:00
2026-08-02 14:31:31 -07:00
2025-11-17 12:13:56 -07:00
2026-08-03 20:10:19 -07:00
2025-06-25 16:27:23 -04:00
2026-08-02 20:24:30 -07:00
2026-07-21 12:35:05 -07:00
2026-03-15 15:37:54 -07:00
2026-08-03 13:09:04 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 17:19:16 -07:00
2026-07-22 06:33:54 -07:00
2024-08-16 14:35:10 -07:00
2026-07-21 17:19:16 -07:00
2022-08-18 11:42:32 -07:00
2026-03-20 10:37:42 -05:00
2026-07-21 12:35:05 -07:00
2026-07-26 14:33:34 -07:00
2025-12-08 13:19:16 +08:00
2026-02-27 10:13:03 -06:00
2026-03-15 15:48:36 -07:00
2026-08-04 09:10:14 -07:00
2025-11-26 08:50:04 -08:00
2026-07-21 12:35:05 -07:00