diff options
author | Arun Isaac | 2022-06-20 13:00:58 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-20 13:03:30 +0530 |
commit | 3ed3a5a31f4bc05e8666c64ed605329703881343 (patch) | |
tree | d8d0308e00fa22bf5a3d5360c3378bece97f549a | |
parent | b8b2e7784b0d409e0ed6a0bbad9ff5e56b0a86cc (diff) | |
download | thogai-3ed3a5a31f4bc05e8666c64ed605329703881343.tar.gz thogai-3ed3a5a31f4bc05e8666c64ed605329703881343.tar.lz thogai-3ed3a5a31f4bc05e8666c64ed605329703881343.zip |
Scroll to end of paper tape buffer after insertion.
* thogai.el (thogai-gemini-protocol-filter): Scroll all relevant
windows to the end of paper tape buffer after insertion.
-rw-r--r-- | thogai.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -649,7 +649,11 @@ BYTES is a list of 6 bytes in the Gemini protocol." ;; someone messed up the point. (goto-char (point-max)) (insert stroke) - (insert "\n")) + (insert "\n") + ;; Scroll to the end of windows showing the paper + ;; tape buffer. + (dolist (window (get-buffer-window-list (process-buffer process) nil t)) + (set-window-point window (point-max)))) ;; Insert into stroke ring, and process translation. (ring-insert thogai-stroke-ring stroke) (thogai-process-stroke thogai-stroke-ring)) |