module Rawline
The RawLine
(or Rawline
) module can be used in the same way as the Readline one.
editor.rb
Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.
This is Free Software. See LICENSE for details.
history_buffer.rb
Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.
This is Free Software. See LICENSE for details.
line.rb
Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.
This is Free Software. See LICENSE for details.
terminal.rb
Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.
This is Free Software. See LICENSE for details.
vt220_terminal.rb
Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.
This is Free Software. See LICENSE for details.
windows_terminal.rb
Created by Fabio Cevasco on 2008-03-01. Copyright © 2008 Fabio Cevasco. All rights reserved.
This is Free Software. See LICENSE for details.
Constants
- FILENAME_COMPLETION_PROC
- HISTORY
Attributes
Public Class Methods
# File lib/rawline.rb, line 30 def self.ansi?; true; end
# File lib/rawline.rb, line 20 def self.rawline_version "0.3.2" end
# File lib/rawline.rb, line 29 def self.win32console?; true; end
Public Instance Methods
# File lib/rawline.rb, line 98 def readline(prompt="", add_history=false) RawLine.editor.read prompt, add_history end