; Fix last change.

This commit is contained in:
Eli Zaretskii 2025-06-12 10:04:51 +03:00
parent 6c13da2caf
commit 323ac96236

View file

@ -3069,6 +3069,9 @@ See `term-prompt-regexp'."
(defconst term-control-seq-prefix-regexp
"[\032\e]")
(defconst term--osc-max-bytes (* 32 1024 1024)
"Limit the length of OSC sequences to keep in memory.")
(defun term-emulate-terminal (proc str)
(when (buffer-live-p (process-buffer proc))
(with-current-buffer (process-buffer proc)