Merge pull request #147 in FS/freeswitch from ~DDRAGIC/freeswitch:feature/FS-7128-fs_cli-ignore-duplicate-lines to master
* commit '2406abdb76a2c6dfb3da364a3997fb6d422e759d': FS-7128 fs_cli: ignore duplicate lines in history
This commit is contained in:
commit
4c89075f2d
|
@ -1691,6 +1691,8 @@ int main(int argc, char *argv[])
|
|||
goto done;
|
||||
}
|
||||
history(myhistory, &ev, H_SETSIZE, 800);
|
||||
/* Ignore duplicate lines */
|
||||
history(myhistory, &ev, H_SETUNIQUE, 1);
|
||||
el_set(el, EL_HIST, history, myhistory);
|
||||
if (use_history_file) history(myhistory, &ev, H_LOAD, hfile);
|
||||
el_source(el, NULL);
|
||||
|
|
Loading…
Reference in New Issue