From a1cf6de9da114e53653f3e7836d9eabf612bde70 Mon Sep 17 00:00:00 2001 From: cage Date: Sat, 14 Aug 2021 21:48:02 +0200 Subject: [PATCH] - move cursor to the end of th estring when browsing command line's history. --- src/command-window.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/command-window.lisp b/src/command-window.lisp index 03793a5..5cab086 100644 --- a/src/command-window.lisp +++ b/src/command-window.lisp @@ -487,7 +487,8 @@ command line." (when (and new-id new-input) (setf history-position new-id) - (setf command-line new-input))) + (setf command-line new-input) + (move-point-to-end command-window command-line))) (insert-in-history (prompt command-line) (db:insert-in-history prompt command-line) (set-history-most-recent command-window prompt)))