class Fir::CtrlCCommand
Public Class Methods
character_regex()
click to toggle source
# File lib/fir/key_command/ctrl_c_command.rb, line 8 def self.character_regex /^\u0003$/ end
Public Instance Methods
execute_hook(new_state)
click to toggle source
# File lib/fir/key_command/ctrl_c_command.rb, line 12 def execute_hook(new_state) new_state.history.reset new_state.blank end