non-line scrolling mode in getline

This commit is contained in:
Olof hagsand 2017-09-24 16:58:27 +02:00
parent 41f30efce9
commit 229ddcf5cc
5 changed files with 15 additions and 0 deletions

View file

@ -392,6 +392,7 @@ main(int argc, char **argv)
cli_plugin_start(h, argc+1, argv-1);
*(argv-1) = tmp;
cligen_line_scrolling_set(cli_cligen(h), clicon_option_int(h,"CLICON_CLI_LINESCROLLING"));
/* Launch interfactive event loop, unless -1 */
if (restarg != NULL && strlen(restarg)){
char *mode = cli_syntax_mode(h);