Skip to content

Stray characters displayed when switching to the shell #11719

@brammool

Description

@brammool

Steps to reproduce

This depends on a lot of factors, especially the terminal used and how Vim interacts with it.
Probably the "worst case" is if the terminal supports getting XT termcodes and the 'xtermcodes' option
has not been switched off.

One way to trigger it is to use "CTRL-Z" early in startup, e.g. with:
vim --clean -c ':call feedkeys("\<c-z>", "n")'
Reported by @Shane-XB-Qian on #11705

Expected behaviour

No escape sequences are displayed in the shell

Version of Vim

9.0.1060

Environment

Ubuntu, kitty

Logs and stack traces

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions