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:
Stefan Farfeleder 2005-10-19 16:37:52 +00:00
parent a22adbc68c
commit 6b6c96661e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151476

View File

@ -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);