module RatatuiRuby::Event::Key::Navigation
Methods and logic for navigation keys.
Public Instance Methods
Source
# File lib/ratatui_ruby/event/key/navigation.rb, line 18 def standard? @kind == :standard end
Returns true if this is a standard key.
Standard keys include: characters, Enter, Tab, arrow keys, navigation keys.
event.standard? # => true for "a", "enter", "up", etc.
Also aliased as: unmodified?
Alias for {#standard?}.
Provided for semantic clarity when checking if a key has no special category.
event.unmodified? # => true for standard keys like "a", "enter", "up"
Alias for: standard?