Put the cursor below Sixel image after showing it
* eat.el (eat--t-sixel-cleanup): Make sure the cursor is below the image.
This commit is contained in:
parent
8b3a38c1d5
commit
5b3e27a10d
1 changed files with 3 additions and 4 deletions
7
eat.el
7
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue