pub struct BackendFeatures {
pub mouse_capture: bool,
pub bracketed_paste: bool,
pub focus_events: bool,
pub kitty_keyboard: bool,
}Expand description
Terminal feature toggles that backends must support.
These map to terminal modes that are enabled/disabled at session start/end. Backends translate these into platform-specific escape sequences or API calls.
Fields§
§mouse_capture: boolSGR mouse capture
(CSI ? 1000 h + CSI ? 1002 h + CSI ? 1006 h, and matching l disables).
bracketed_paste: boolBracketed paste mode (CSI ? 2004 h/l on native).
focus_events: boolFocus-in/focus-out reporting (CSI ? 1004 h/l on native).
kitty_keyboard: boolKitty keyboard protocol (CSI > 15 u on native).
Trait Implementations§
Source§impl Clone for BackendFeatures
impl Clone for BackendFeatures
Source§fn clone(&self) -> BackendFeatures
fn clone(&self) -> BackendFeatures
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 BackendFeatures
impl Debug for BackendFeatures
Source§impl Default for BackendFeatures
impl Default for BackendFeatures
Source§fn default() -> BackendFeatures
fn default() -> BackendFeatures
Returns the “default value” for a type. Read more
Source§impl PartialEq for BackendFeatures
impl PartialEq for BackendFeatures
impl Copy for BackendFeatures
impl Eq for BackendFeatures
impl StructuralPartialEq for BackendFeatures
Auto Trait Implementations§
impl Freeze for BackendFeatures
impl RefUnwindSafe for BackendFeatures
impl Send for BackendFeatures
impl Sync for BackendFeatures
impl Unpin for BackendFeatures
impl UnsafeUnpin for BackendFeatures
impl UnwindSafe for BackendFeatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.