small fix to command history
This commit is contained in:
parent
5d78c081e1
commit
f78f8d166d
1 changed files with 2 additions and 2 deletions
|
|
@ -416,9 +416,9 @@
|
|||
(when (or (zerop len)
|
||||
(string/= line (aref *history* (1- len))))
|
||||
(vector-push-extend line *history*)
|
||||
(setf *history-index* (length *history*)) ; 1 after last
|
||||
(write-line line out)
|
||||
(force-output out))))
|
||||
(force-output out)))
|
||||
(setf *history-index* (length *history*))) ; 1 after last
|
||||
(defun history-move (dir)
|
||||
(unless out
|
||||
(history-ini))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue