Struct crossterm::event::PopKeyboardEnhancementFlags
source · pub struct PopKeyboardEnhancementFlags;
Expand description
A command that disables extra kinds of keyboard events.
Specifically, it pops one level of keyboard enhancement flags.
See PushKeyboardEnhancementFlags
and https://sw.kovidgoyal.net/kitty/keyboard-protocol/ for more information.
Trait Implementations§
source§impl Clone for PopKeyboardEnhancementFlags
impl Clone for PopKeyboardEnhancementFlags
source§fn clone(&self) -> PopKeyboardEnhancementFlags
fn clone(&self) -> PopKeyboardEnhancementFlags
Returns a copy 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 Command for PopKeyboardEnhancementFlags
impl Command for PopKeyboardEnhancementFlags
source§fn write_ansi(&self, f: &mut impl Write) -> Result
fn write_ansi(&self, f: &mut impl Write) -> Result
Write an ANSI representation of this command to the given writer.
An ANSI code can manipulate the terminal by writing it to the terminal buffer.
However, only Windows 10 and UNIX systems support this. Read more
source§fn is_ansi_code_supported(&self) -> bool
fn is_ansi_code_supported(&self) -> bool
Returns whether the ANSI code representation of this command is supported by windows. Read more
source§impl Debug for PopKeyboardEnhancementFlags
impl Debug for PopKeyboardEnhancementFlags
source§impl PartialEq<PopKeyboardEnhancementFlags> for PopKeyboardEnhancementFlags
impl PartialEq<PopKeyboardEnhancementFlags> for PopKeyboardEnhancementFlags
source§fn eq(&self, other: &PopKeyboardEnhancementFlags) -> bool
fn eq(&self, other: &PopKeyboardEnhancementFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.