Skip to content
Snippets Groups Projects
Commit 436a53b9 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

knotc: don't store adjacent identical commands to history

parent fe6b1f8e
No related branches found
No related tags found
No related merge requests found
......@@ -382,6 +382,7 @@ int interactive_loop(params_t *process_params)
HistEvent hev = { 0 };
history(hist, &hev, H_SETSIZE, 100);
history(hist, &hev, H_SETUNIQUE, 1);
el_set(el, EL_HIST, history, hist);
history(hist, &hev, H_LOAD, hist_file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment