We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ea9e32 + 836d3ad commit 9a2a5eaCopy full SHA for 9a2a5ea
eca-chat.el
@@ -1912,10 +1912,12 @@ string."
1912
1913
;;;###autoload
1914
(defun eca-chat-go-to-next-user-message ()
1915
- "Go to the next user message from point."
+ "Go to the next user message from point.
1916
+If there is no next user message, go to the chat prompt line."
1917
(interactive)
1918
(eca-assert-session-running (eca-session))
- (eca-chat--go-to-overlay 'eca-chat--user-message-id (1+ (point)) (point-max) t))
1919
+ (unless (eca-chat--go-to-overlay 'eca-chat--user-message-id (1+ (point)) (point-max) t)
1920
+ (goto-char (eca-chat--prompt-field-start-point))))
1921
1922
1923
(defun eca-chat-go-to-prev-expandable-block ()
0 commit comments