Skip to content

Render glitches (blacked out content) #4480

@willmcgugan

Description

@willmcgugan

I'm working on a TUI framework for Python, which does tend to push the terminal more than a typical app.

On certain apps, after a few seconds of updates the terminal starts glitching heavily. The more animation, the quicker this seems to happen.

It's probably best to show in a video:

Screen.Recording.2023-04-18.at.14.17.53.mov

This doesn't occur on other terminals. And I'm fairly sure (although not 100%) that this is not an error in Textual itself.

The video above is with an embedded xterm.js, but this issue also occurs in VSCode.

I haven't addressed flow control yet. But from experimentation, it only takes a a few hundred K before this issue occurs.

Details

  • Browser and browser version: Chrome. Version 112.0.5615.49 (Official Build) (arm64)
  • OS version: MacOS 13.3.1 (22E261)
  • xterm.js version: 5.1.0"

Steps to reproduce

Install Textual:

pip install textual[dev]

Then in VS code integrated terminal:

textual easing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions