diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-10 21:51:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-10 21:51:57 +0300 |
| commit | 425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch) | |
| tree | e52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/src/terminal/ansi.zig | |
| parent | 90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff) | |
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/terminal/ansi.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/terminal/ansi.zig | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/vendor/libghostty-vt/src/terminal/ansi.zig b/vendor/libghostty-vt/src/terminal/ansi.zig index 4e777b7c..4e28995d 100644 --- a/vendor/libghostty-vt/src/terminal/ansi.zig +++ b/vendor/libghostty-vt/src/terminal/ansi.zig @@ -99,8 +99,11 @@ pub const ModifyKeyFormat = lib.Enum( /// The protection modes that can be set for the terminal. See DECSCA and /// ESC V, W. -pub const ProtectedMode = enum { - off, - iso, // ESC V, W - dec, // CSI Ps " q -}; +pub const ProtectedMode = lib.Enum( + lib.target, + &.{ + "off", + "iso", // ESC V, W + "dec", // CSI Ps " q + }, +); |
