diff options
| author | Stephane Zermatten | 2025-06-04 21:00:42 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-06-12 10:01:26 +0300 |
| commit | 6c13da2caf629b14853e9aa57e59aeeeec14e68f (patch) | |
| tree | 1ad33ad3e9702a21800c447cbf884f6c36c2c1e1 /src/bytecode.c | |
| parent | 3939623d76baae16374937d865294577f86fc743 (diff) | |
| download | emacs-6c13da2caf629b14853e9aa57e59aeeeec14e68f.tar.gz emacs-6c13da2caf629b14853e9aa57e59aeeeec14e68f.zip | |
Handle OSC sequences in term (bug#78263)
Handlers can be registered to term-osc-handler, which by defaults,
supports OSC 0, 2, 7 and 8, using handlers defined in ansi-osc.
Unknown OSC sequences are ignored.
* lisp/term.el (term-emulate-terminal): Handle OSC sequences.
(term-osc-handler): New configuration variable.
(term-control-seq-regexp): Extended regexp.
(term--osc-max-bytes): New private constant.
* lisp/ansi-osc.el (ansi-osc-handler): Handle OSC 0 like OSC 2.
* test/lisp/term-tests.el (term-ignore-osc, term-handle-osc)
(term-call-ansi-osc-handlers): New tests.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions