increase buffer size for history
This commit is contained in:
parent
e33cd275aa
commit
ecfe8f9858
1 changed files with 1 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ void cli::getline( const fc::string& prompt, fc::string& line)
|
||||||
if( _isatty( _fileno( stdin ) ) )
|
if( _isatty( _fileno( stdin ) ) )
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
el_hist_size = 256;
|
||||||
rl_set_complete_func(my_rl_complete);
|
rl_set_complete_func(my_rl_complete);
|
||||||
rl_set_list_possib_func(cli_completion);
|
rl_set_list_possib_func(cli_completion);
|
||||||
static fc::thread getline_thread("getline");
|
static fc::thread getline_thread("getline");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue