branch: elpa/gnosis
commit 70f53f6656d9ff455d7b3ba5263eed1ee0ae34c4
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>

    monkeytype-handler: forward-line when at end of line.
---
 gnosis-monkeytype.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnosis-monkeytype.el b/gnosis-monkeytype.el
index ad8f6ac2eab..974c5558b42 100644
--- a/gnosis-monkeytype.el
+++ b/gnosis-monkeytype.el
@@ -81,7 +81,9 @@
             ;; Check if complete
             (when (= end (1+ (length gnosis-monkeytype-string)))
              (kill-buffer (current-buffer))
-              (exit-recursive-edit)))
+              (exit-recursive-edit))
+           ;; Forward line when at the end
+           (and (eolp) (forward-line 1)))
         (when (and correct-char typed-char)
           (delete-char -1)
           (goto-char (1- end)))))))

Reply via email to