diff options
author | aycabta <aycabta@gmail.com> | 2019-05-13 03:26:10 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-05-13 03:26:10 +0900 |
commit | caef2ddaaf4a121272ad5c11d046ff4511c0f560 (patch) | |
tree | a3ac7e4263d2eb24b00eedb8d4c18789dfe77c15 /lib/reline/config.rb | |
parent | c48778d64294c7871e2be09b0138d74e4d9d8551 (diff) | |
download | ruby-caef2ddaaf4a121272ad5c11d046ff4511c0f560.tar.gz |
Implement Reline::HISTORY as an expanded Array
Diffstat (limited to 'lib/reline/config.rb')
-rw-r--r-- | lib/reline/config.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/config.rb b/lib/reline/config.rb index 0a6a92fee2..a140959ca9 100644 --- a/lib/reline/config.rb +++ b/lib/reline/config.rb @@ -13,6 +13,7 @@ class Reline::Config enable-keypad expand-tilde history-preserve-point + history-size horizontal-scroll-mode input-meta mark-directories @@ -42,6 +43,7 @@ class Reline::Config @key_actors[:emacs] = Reline::KeyActor::Emacs.new @key_actors[:vi_insert] = Reline::KeyActor::ViInsert.new @key_actors[:vi_command] = Reline::KeyActor::ViCommand.new + @history_size = 500 end def reset |