diff options
Diffstat (limited to 'lib/reline/config.rb')
| -rw-r--r-- | lib/reline/config.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/reline/config.rb b/lib/reline/config.rb index c2b50a95a2..ac2a365f00 100644 --- a/lib/reline/config.rb +++ b/lib/reline/config.rb @@ -65,6 +65,7 @@ class Reline::Config @history_size = -1 # unlimited @keyseq_timeout = 500 @test_mode = false + @autocompletion = true end def reset @@ -89,6 +90,14 @@ class Reline::Config (val.respond_to?(:any?) ? val : [val]).any?(@editing_mode_label) end + def autocompletion=(val) + @autocompletion = val + end + + def autocompletion + @autocompletion + end + def keymap @key_actors[@keymap_label] end |
