Lars Ingebrigtsen writes: > Matthias Meulien writes: > >> The OSC sequences sent by flatpak-builder are meant to update the window >> title (See https://terminalguide.namepad.de/seq/osc-2/). I plan to >> provide an osc-compilation-filter (modelled on >> ansi-color-compilation-filter) to be added to compilation-filter-hook. >> >> One possible mode is to filter out all osc sequences. An other mode >> would be to call per command handlers as done by >> comint-osc-process-output. >> >> Any thought? > > The default could be to filter out all unknown OSC sequences? Here are three patchs that: - Extract current support of OSC escape sequences from comint.el - Handle OSC command to set window title - Provide an OSC escape sequences filter for compilation buffer