Skip to content

Commit

Permalink
config: warn the hazards of '>' for sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Aug 19, 2024
1 parent 295ef38 commit bec5772
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config/Config.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bec5772

Please sign in to comment.