aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thogai.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/thogai.el b/thogai.el
index efcc506..fbbc2f5 100644
--- a/thogai.el
+++ b/thogai.el
@@ -645,6 +645,9 @@ BYTES is a list of 6 bytes in the Gemini protocol."
(let ((stroke (thogai-gemini-decode-stroke (reverse bytes))))
;; Log to paper tape.
(with-current-buffer (process-buffer process)
+ ;; Explicitly go to end of buffer, just in case
+ ;; someone messed up the point.
+ (goto-char (point-max))
(insert stroke)
(insert "\n"))
;; Insert into stroke ring, and process translation.