mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
Docfix: correct comment for modifyOtherKeys sequence (#3018)
The comment in `function_keys.zig` was missing the `>` character for the sequence. I've confirmed that this was just the comment, Ghostty treats the original as an SGR sequence, which it is. Conversely, it does treat `\x1b[>4;2m` as activating modifyOtherKeys.
This commit is contained in:
@ -13,7 +13,7 @@ pub const CursorMode = enum { any, normal, application };
|
||||
pub const KeypadMode = enum { any, normal, application };
|
||||
|
||||
/// A bit confusing so I'll document this one: this is the "modify other keys"
|
||||
/// setting. We only change behavior for "set_other" which is ESC [ 4; 2 m.
|
||||
/// setting. We only change behavior for "set_other" which is ESC [ > 4; 2 m.
|
||||
/// So this can be "any" which means we don't care what's going on. Or it
|
||||
/// can be "set" which means modify keys must be set EXCEPT FOR "other keys"
|
||||
/// mode, and "set_other" which means modify keys must be set to "other keys"
|
||||
|
Reference in New Issue
Block a user