#[repr(C)]pub struct FormatterScreenExtra {
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.
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 FormatterScreenExtra
impl Clone for FormatterScreenExtra
Source§fn clone(&self) -> FormatterScreenExtra
fn clone(&self) -> FormatterScreenExtra
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 FormatterScreenExtra
Source§impl Debug for FormatterScreenExtra
impl Debug for FormatterScreenExtra
Source§impl Default for FormatterScreenExtra
impl Default for FormatterScreenExtra
Source§fn default() -> FormatterScreenExtra
fn default() -> FormatterScreenExtra
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FormatterScreenExtra
impl RefUnwindSafe for FormatterScreenExtra
impl Send for FormatterScreenExtra
impl Sync for FormatterScreenExtra
impl Unpin for FormatterScreenExtra
impl UnsafeUnpin for FormatterScreenExtra
impl UnwindSafe for FormatterScreenExtra
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