class TTYString::CSICode::K
Public Class Methods
arg_re()
click to toggle source
# File lib/tty_string/csi_code_definitions.rb, line 89 def self.arg_re /[0-2]?/ end
Public Instance Methods
action(mode = 0)
click to toggle source
# File lib/tty_string/csi_code_definitions.rb, line 93 def action(mode = 0) # :nocov: else won't ever be called. don't worry about it case mode # :nocov: when 0 then screen.clear_line_forward when 1 then screen.clear_line_backward when 2 then screen.clear_line end end