Docfix: correct comment for modifyOtherKeys sequence

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:
Sam Atman
2024-12-19 16:51:28 -05:00
parent 64af685897
commit d885a266d4

View File

@ -13,7 +13,7 @@ pub const CursorMode = enum { any, normal, application };
pub const KeypadMode = 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" /// 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 /// 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" /// 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" /// mode, and "set_other" which means modify keys must be set to "other keys"