mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 21:40:29 +00:00
input: allocate for text bindings
This commit is contained in:
@@ -134,10 +134,10 @@ pub const Action = union(enum) {
|
||||
/// Send an ESC sequence.
|
||||
esc: []const u8,
|
||||
|
||||
// Send the given text. Uses Zig string literal syntax. The maximum
|
||||
// length of the string is 128 bytes. This is currently not validated.
|
||||
// If the text is invalid (i.e. contains an invalid escape sequence),
|
||||
// the error will currently only show up in logs.
|
||||
// Send the given text. Uses Zig string literal syntax. This is
|
||||
// currently not validated. If the text is invalid (i.e. contains
|
||||
// an invalid escape sequence), the error will currently only show
|
||||
// up in logs.
|
||||
text: []const u8,
|
||||
|
||||
/// Send data to the pty depending on whether cursor key mode is
|
||||
|
||||
Reference in New Issue
Block a user