Skip to content

Space character does not appear in VS Code integrated terminal starting from VS Code 1.110 #6408

@kimadeline

Description

@kimadeline

Have you checked closed issues? (https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed) yes

Have you checked against the most recent version of Textual? (https://pypi.org/search/?q=textual) yes

The bug

Textual 8.0.2, Python 3.12

Given the following code:

from textual.app import App
from textual.widgets import Input


class TestApp(App):
    def compose(self):
        yield Input(placeholder="Type here...")

if __name__ == "__main__":
    app = TestApp()
    app.run()

When I press the spacebar the space character does not get displayed when running inside the VS Code integrated terminal:

test.mov

It works if I disable the terminal.integrated.enableKittyKeyboardProtocol setting in VS Code. This started happening in VS Code version 1.110 (release notes) which was just released with additional Kitty support.

It might be related to #6074 as #6074 (comment) mentions issues with the space character as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions