[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat 5b3e27a10d 1/2: Put the cursor below Sixel image after
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat 5b3e27a10d 1/2: Put the cursor below Sixel image after showing it |
Date: |
Wed, 4 Oct 2023 10:00:35 -0400 (EDT) |
branch: elpa/eat
commit 5b3e27a10de1cce2cfc645beb7d77cd7faec6b28
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Put the cursor below Sixel image after showing it
* eat.el (eat--t-sixel-cleanup): Make sure the cursor is below
the image.
---
eat.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/eat.el b/eat.el
index 34862c9492..262d25f64f 100644
--- a/eat.el
+++ b/eat.el
@@ -3207,10 +3207,9 @@ If NULLIFY is non-nil, nullify flushed part of Sixel
buffer."
(eat--t-term-sixel-buffer eat--t-term)))
(while (>= (eat--t-cur-sixel-y cursor) -5)
(eat--t-sixel-flush-line nil)
- (when (>= (eat--t-cur-sixel-y cursor) -5)
- (if (eat--t-term-sixel-scroll-mode eat--t-term)
- (eat--t-index)
- (eat--t-cur-down)))))
+ (if (eat--t-term-sixel-scroll-mode eat--t-term)
+ (eat--t-index)
+ (eat--t-cur-down))))
(unless (eat--t-term-sixel-scroll-mode eat--t-term)
(eat--t-goto
(car (eat--t-term-sixel-initial-cursor-pos eat--t-term))