1 Extension for GNU Readline Library
8 line = readline("Prompt> ", true)
14 readline(prompt, add_history=nil)
16 Reads one line with line editing. The inputted line is added to the
17 history if add_history is true.
21 completion_proc = proc
23 Specifies a Proc object to determine completion behavior. It
24 should take input-string, and return an array of completion
29 Returns the completion Proc object.
31 completion_case_fold = bool
33 Sets whether or not to ignore case on completion.
37 Returns true if completion ignores case.
39 completion_append_character = char
41 Specifies a character to be appended on completion.
42 Nothing will be appended if an empty string ("") or nil is
45 completion_append_character
47 Returns a string containing a character to be appended on
48 completion. The default is a space (" ").
52 Specifies VI editing mode.
56 Specifies Emacs editing mode.
62 The history buffer. It behaves just like an array.