Method: TTY::Reader::Line#move_to_end

Defined in:
lib/tty/reader/line.rb

#move_to_endObject

Move cursor to end position



127
128
129
# File 'lib/tty/reader/line.rb', line 127

def move_to_end
  @cursor = @text.length # put cursor outside of text
end