Synchronize scrolling only when point is on cursor
* eat.el (eat--adjust-process-window-size): Synchronize scrolling only when point is on cursor.
This commit is contained in:
parent
ebc77efd0f
commit
58fd1b1196
1 changed files with 2 additions and 5 deletions
7
eat.el
7
eat.el
|
@ -5027,11 +5027,8 @@ of window displaying PROCESS's buffer."
|
|||
(height (max (cdr size) 1))
|
||||
(inhibit-read-only t)
|
||||
(synchronize-scroll
|
||||
(and (<= (eat-term-display-beginning eat--terminal)
|
||||
(point))
|
||||
(or (< (point) (eat-term-end eat--terminal))
|
||||
(= (point) (eat-term-end eat--terminal)
|
||||
(point-max))))))
|
||||
(or (= (eat-term-display-cursor eat--terminal) (point))
|
||||
eat--char-mode)))
|
||||
(eat-term-resize eat--terminal width height)
|
||||
(eat-term-redisplay eat--terminal)
|
||||
(when synchronize-scroll
|
||||
|
|
Loading…
Add table
Reference in a new issue