module

Readline

Constants

KeyBindingHandler = ->(count : LibReadline::Int, key : LibReadline::Int) do if (handlers = @@key_bind_handlers) && handlers[key.to_i32]? res = handlers[key].call(count.to_i32, key.to_i32) LibReadline::Int.new(res) else LibReadline::Int.new(1) end end
VERSION = "0.1.0"

Instance methods

autocomplete
Source
bind_key(c : Char, &f : KeyBindingProc)
Source
done
Source
done=(val : Bool)
Source
line_buffer
Source
point
Source
readline(prompt = "", add_history = false)
Source
unbind_key(c : Char)
Source

Nested types