From ecfe8f9858f858a4ff4283a2c3f30d859ac64df5 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 16 Oct 2020 02:15:01 +0000 Subject: [PATCH] increase buffer size for history --- src/rpc/cli.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/cli.cpp b/src/rpc/cli.cpp index c811233..6aef4e9 100755 --- a/src/rpc/cli.cpp +++ b/src/rpc/cli.cpp @@ -229,6 +229,7 @@ void cli::getline( const fc::string& prompt, fc::string& line) if( _isatty( _fileno( stdin ) ) ) #endif { + el_hist_size = 256; rl_set_complete_func(my_rl_complete); rl_set_list_possib_func(cli_completion); static fc::thread getline_thread("getline");