mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
34 lines
758 B
Zig
34 lines
758 B
Zig
// Modes for the ED CSI command.
|
|
pub const EraseDisplay = enum(u8) {
|
|
below = 0,
|
|
above = 1,
|
|
complete = 2,
|
|
scrollback = 3,
|
|
|
|
/// This is an extension added by Kitty to move the viewport into the
|
|
/// scrollback and then erase the display.
|
|
scroll_complete = 22,
|
|
};
|
|
|
|
// Modes for the EL CSI command.
|
|
pub const EraseLine = enum(u8) {
|
|
right = 0,
|
|
left = 1,
|
|
complete = 2,
|
|
right_unless_pending_wrap = 4,
|
|
|
|
// Non-exhaustive so that @intToEnum never fails since the inputs are
|
|
// user-generated.
|
|
_,
|
|
};
|
|
|
|
// Modes for the TBC (tab clear) command.
|
|
pub const TabClear = enum(u8) {
|
|
current = 0,
|
|
all = 3,
|
|
|
|
// Non-exhaustive so that @intToEnum never fails since the inputs are
|
|
// user-generated.
|
|
_,
|
|
};
|