From bec5772d776b00716e444201e6bd05870d36b021 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 19 Aug 2024 12:55:38 -0700 Subject: [PATCH] config: warn the hazards of '>' for sequences --- src/config/Config.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 8ea5c0f4e..906a762b9 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -625,6 +625,10 @@ class: ?[:0]const u8 = null, /// is sometimes called a leader key, a key chord, a key table, etc. There /// is no hardcoded limit on the number of parts in a sequence. /// +/// Warning: if you define a sequence as a CLI argument to `ghostty`, +/// you probably have to quote the keybind since `>` is a special character +/// in most shells. Example: ghostty --keybind='ctrl+a>n=new_window' +/// /// A trigger sequence has some special handling: /// /// * Ghostty will wait an indefinite amount of time for the next key in