mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
3a2e2a6848
commit
24a26db795
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ class Reline::KeyActor::Emacs::Test < Reline::TestCase
|
||||||
Reline.send(:test_mode)
|
Reline.send(:test_mode)
|
||||||
@prompt = '> '
|
@prompt = '> '
|
||||||
@config = Reline::Config.new # Emacs mode is default
|
@config = Reline::Config.new # Emacs mode is default
|
||||||
|
@config.autocompletion = false
|
||||||
Reline::HISTORY.instance_variable_set(:@config, @config)
|
Reline::HISTORY.instance_variable_set(:@config, @config)
|
||||||
Reline::HISTORY.clear
|
Reline::HISTORY.clear
|
||||||
@encoding = Reline::IOGate.encoding
|
@encoding = Reline::IOGate.encoding
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue