From bf5c8351e436bbc04795454dba6de51171f5a687 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 30 Jun 2018 02:49:52 +0200 Subject: [PATCH] Fix jumpiness from progress bars in eshell/term Due to hscroll-margin ping-ponging the cursor. --- core/core-editor.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/core-editor.el b/core/core-editor.el index 4b9d98dc0..3085e878d 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -44,6 +44,9 @@ successfully sets indent_style/indent_size.") truncate-lines t truncate-partial-width-windows 50) +;; Remove hscroll-margin in shells, otherwise it causes jumpiness +(setq-hook! '(eshell-mode-hook term-mode-hook) hscroll-margin 0) + (defun doom|check-large-file () "Check if the buffer's file is large (see `doom-large-file-size'). If so, ask for confirmation to open it literally (read-only, disabled undo and in