From caef2ddaaf4a121272ad5c11d046ff4511c0f560 Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 13 May 2019 03:26:10 +0900 Subject: Implement Reline::HISTORY as an expanded Array --- lib/reline/config.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/reline/config.rb') 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 -- cgit v1.2.3