Fix ANSI coloring problem in large outputs in eshell
* lisp/ansi-color.el (ansi-color-apply-on-region): Ensure that we fontize from where we left off, and don't skip to the end of the region (bug#46332).
This commit is contained in:
parent
f8d8759059
commit
f1fa35f091
1 changed files with 2 additions and 1 deletions
|
@ -429,7 +429,8 @@ being deleted."
|
|||
;; positions that overlap regions previously colored; these
|
||||
;; `codes' should not be applied to that overlap, so we need
|
||||
;; to know where they should really start.
|
||||
(setq ansi-color-context-region (if codes (list codes end-marker)))))
|
||||
(setq ansi-color-context-region
|
||||
(if codes (list codes (copy-marker (point)))))))
|
||||
;; Clean up our temporary markers.
|
||||
(unless (eq start-marker (cadr ansi-color-context-region))
|
||||
(set-marker start-marker nil))
|
||||
|
|
Loading…
Add table
Reference in a new issue