pub enum Action {
Print(char),
PrintString(String),
Control(ControlCode),
DeviceControl(DeviceControlMode),
OperatingSystemCommand(Box<OperatingSystemCommand>),
CSI(CSI),
Esc(Esc),
Sixel(Box<Sixel>),
XtGetTcap(Vec<String>),
KittyImage(Box<KittyImage>),
}Variants§
Print(char)
Send a single printable character to the display
PrintString(String)
Send a string of printable characters to the display.
Control(ControlCode)
A C0 or C1 control code
DeviceControl(DeviceControlMode)
Device control. This is uncommon wrt. terminal emulation.
OperatingSystemCommand(Box<OperatingSystemCommand>)
A command that typically doesn’t change the contents of the terminal, but rather influences how it displays or otherwise interacts with the rest of the system
CSI(CSI)
Esc(Esc)
Sixel(Box<Sixel>)
XtGetTcap(Vec<String>)
A list of termcap, terminfo names for which the application wants information
KittyImage(Box<KittyImage>)
Implementations§
Trait Implementations§
Source§impl Display for Action
Encode self as an escape sequence. The escape sequence may potentially
be clear text with no actual escape sequences.
impl Display for Action
Encode self as an escape sequence. The escape sequence may potentially be clear text with no actual escape sequences.
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more