]> git.eshelyaron.com Git - emacs.git/commit
ansi-osc.el: Use marker (bug#78184)
authorMatthias Meulien <orontee@gmail.com>
Thu, 8 May 2025 14:51:46 +0000 (16:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:55:18 +0000 (21:55 +0200)
commit45de01d6c2c234e73582b19e3a0519eac418a547
tree481614b52174f722d604c079073258fa5b198cdc
parent10ebcf3f293a67a7566a341bc8478830bd6ebd10
ansi-osc.el: Use marker (bug#78184)

* lisp/ansi-osc.el (ansi-osc-apply-on-region)
(ansi-osc-filter-region): Use marker to properly handle
unfinished escape sequence.

* test/lisp/ansi-osc-tests.el (ansi-osc-tests--strings)
(ansi-osc-tests-apply-region-no-handlers)
(ansi-osc-tests-apply-region-no-handlers-multiple-calls)
(ansi-osc-tests-filter-region)
(ansi-osc-tests-filter-region-with-multiple-calls): Cover
bug#78184.

(cherry picked from commit 6f8cee03316e166e4204ba49fbb9964a075968ca)
lisp/ansi-osc.el
test/lisp/ansi-osc-tests.el