#[repr(C)]pub struct GhosttyFormatterScreenExtra {
pub size: usize,
pub cursor: bool,
pub style: bool,
pub hyperlink: bool,
pub protection: bool,
pub kitty_keyboard: bool,
pub charsets: bool,
}Expand description
Extra screen state to include in styled output.
@ingroup formatter
Fields§
§size: usizeSize of this struct in bytes. Must be set to sizeof(GhosttyFormatterScreenExtra).
cursor: boolEmit cursor position using CUP (CSI H).
style: boolEmit current SGR style state based on the cursor’s active style_id.
hyperlink: boolEmit current hyperlink state using OSC 8 sequences.
protection: boolEmit character protection mode using DECSCA.
kitty_keyboard: boolEmit Kitty keyboard protocol state using CSI > u and CSI = sequences.
charsets: boolEmit character set designations and invocations.
Trait Implementations§
Source§impl Clone for GhosttyFormatterScreenExtra
impl Clone for GhosttyFormatterScreenExtra
Source§fn clone(&self) -> GhosttyFormatterScreenExtra
fn clone(&self) -> GhosttyFormatterScreenExtra
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GhosttyFormatterScreenExtra
impl Debug for GhosttyFormatterScreenExtra
Source§impl Default for GhosttyFormatterScreenExtra
impl Default for GhosttyFormatterScreenExtra
Source§fn default() -> GhosttyFormatterScreenExtra
fn default() -> GhosttyFormatterScreenExtra
Returns the “default value” for a type. Read more
impl Copy for GhosttyFormatterScreenExtra
Auto Trait Implementations§
impl Freeze for GhosttyFormatterScreenExtra
impl RefUnwindSafe for GhosttyFormatterScreenExtra
impl Send for GhosttyFormatterScreenExtra
impl Sync for GhosttyFormatterScreenExtra
impl Unpin for GhosttyFormatterScreenExtra
impl UnsafeUnpin for GhosttyFormatterScreenExtra
impl UnwindSafe for GhosttyFormatterScreenExtra
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