Use the new name H_SETSIZE instead of the old H_EVENT to set the history
size. PR: 86355 Approved by: gad
This commit is contained in:
parent
a22adbc68c
commit
6b6c96661e
@ -167,7 +167,7 @@ cmdscanner(void)
|
||||
if (!el) {
|
||||
el = el_init("lpc", stdin, stdout, stderr);
|
||||
hist = history_init();
|
||||
history(hist, &he, H_EVENT, 100);
|
||||
history(hist, &he, H_SETSIZE, 100);
|
||||
el_set(el, EL_HIST, history, hist);
|
||||
el_set(el, EL_EDITOR, "emacs");
|
||||
el_set(el, EL_PROMPT, lpc_prompt);
|
||||
|
Loading…
Reference in New Issue
Block a user