class Fir::DownArrowCommand

Public Class Methods

character_regex() click to toggle source
# File lib/fir/key_command/down_arrow_command.rb, line 8
def self.character_regex
  [/^\e\[B$/, /\x0E/]
end

Public Instance Methods

execute_hook(new_state) click to toggle source
# File lib/fir/key_command/down_arrow_command.rb, line 12
def execute_hook(new_state)
  new_state.history.down
  new_state
end