pub enum TerminalNavAction {
Ignored,
FocusMoved(NodeId),
Scrolled(i16),
Activated(NodeId),
ExitRequested,
}Expand description
High-level navigation outcome returned by TerminalRenderer::handle_key.
Variants§
Ignored
Keyboard event did not trigger a terminal navigation change.
FocusMoved(NodeId)
Keyboard focus moved to a new focusable scene node.
Scrolled(i16)
Active scroll container offset changed via arrow navigation.
Activated(NodeId)
Currently focused interactive control was activated via Enter.
ExitRequested
User requested graceful exit via Escape or Ctrl+C.
Trait Implementations§
Auto Trait Implementations§
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