pub enum OscCommand {
Show 14 variants
SetTitle,
Palette,
SetPath,
Hyperlink,
Notification,
FgColour,
BgColour,
CursorColour,
Clipboard,
ResetPalette,
ResetFg,
ResetBg,
ResetCursor,
ShellIntegration,
}Expand description
OSC command numbers.
Variants§
SetTitle
OSC 0/2 — Set title.
Palette
OSC 4 — Set/query palette colour.
SetPath
OSC 7 — Set current directory path.
Hyperlink
OSC 8 — Hyperlink.
Notification
OSC 9 — Desktop notification.
FgColour
OSC 10 — Set/query foreground colour.
BgColour
OSC 11 — Set/query background colour.
CursorColour
OSC 12 — Set/query cursor colour.
Clipboard
OSC 52 — Clipboard.
ResetPalette
OSC 104 — Reset palette colour.
ResetFg
OSC 110 — Reset foreground colour.
ResetBg
OSC 111 — Reset background colour.
ResetCursor
OSC 112 — Reset cursor colour.
ShellIntegration
OSC 133 — Shell integration / prompt mark.
Trait Implementations§
Source§impl Clone for OscCommand
impl Clone for OscCommand
Source§fn clone(&self) -> OscCommand
fn clone(&self) -> OscCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OscCommand
Source§impl Debug for OscCommand
impl Debug for OscCommand
impl Eq for OscCommand
Source§impl PartialEq for OscCommand
impl PartialEq for OscCommand
impl StructuralPartialEq for OscCommand
Auto Trait Implementations§
impl Freeze for OscCommand
impl RefUnwindSafe for OscCommand
impl Send for OscCommand
impl Sync for OscCommand
impl Unpin for OscCommand
impl UnsafeUnpin for OscCommand
impl UnwindSafe for OscCommand
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