Try out ultra-scroll-mode.el for smoother scrolling

`pixel-scroll-precision-mode` displays the last line in eshell buffers only partially, while
`ultra-scroll-mode` does not.  This is an additional external package, but it might be worth a try.

Also see https://github.com/jdtsmith/ultra-scroll/.
This commit is contained in:
Daniel Borchmann 2025-11-19 11:18:30 +01:00
parent d189ae832e
commit 3a9146071b
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -666,6 +666,10 @@ split horizontally again, but this extra work should not matter much."
(add-hook 'textile-mode-hook #'turn-on-visual-line-mode) (add-hook 'textile-mode-hook #'turn-on-visual-line-mode)
(add-hook 'textile-mode-hook #'turn-on-visual-fill-column-mode))) (add-hook 'textile-mode-hook #'turn-on-visual-fill-column-mode)))
(use-package ultra-scroll
:ensure t
:commands (ultra-scroll-mode))
(use-package visual-fill-column (use-package visual-fill-column
:ensure t :ensure t
:autoload (turn-on-visual-fill-column-mode :autoload (turn-on-visual-fill-column-mode
@ -3082,7 +3086,6 @@ Note that this workaround is incomplete, as explained in this comment."
(global-auto-revert-mode -1) (global-auto-revert-mode -1)
(global-eldoc-mode +1) (global-eldoc-mode +1)
(global-visual-wrap-prefix-mode +1) (global-visual-wrap-prefix-mode +1)
(pixel-scroll-precision-mode +1)
;; Activate modes (packages) ;; Activate modes (packages)
@ -3094,7 +3097,8 @@ Note that this workaround is incomplete, as explained in this comment."
global-git-commit-mode global-git-commit-mode
marginalia-mode marginalia-mode
vertico-mode vertico-mode
global-diff-hl-mode)) global-diff-hl-mode
ultra-scroll-mode))
(with-demoted-errors "Cannot activate mode: %s" (with-demoted-errors "Cannot activate mode: %s"
(funcall mode +1))) (funcall mode +1)))