lib/tty/reader/line.rb
# Replace current line with new text
#
# @param [String] text
#
# @api public
Replace current line with new text
Replace current line with new text
def replace(text)
        @text = text
        @cursor = @text.length 
        replace_mode
      end
def replace ( text ) @text = text @cursor = @text . length replace_mode end
Replace current line with new text
Replace current line with new text
# put cursor outside of text
text
None
api
None