Skip to content

Textual Issues on Windows #791

@hucker

Description

@hucker

The latest pip install does not appear to work on windows (I just downloaded last Friday) version 0.1.18, and am running on python 3.10.

Rich seems to work fine, the colorized text output works in the line-based stdio ouptut use cases I have.

  1. When I run textual on cmd or ps I get a blank screen...until I resize the window, at which point I get what looks to be a (very) nice windowed screen. (I'm running the placeholder sample with 3 rows with a 1 span, 3 span and 1 span footer).
  2. When I move the mouse around, the windows jump around and don't refresh properly. When I float over the sub-window in the second row, the color-changing border is redrawn starting from the first row. The same thing with the footer, the clicked on footer appears in the top row. It looks like the redraw code doesn't have a top offset.
  3. I see no output in the pycharm or vscode terminals (I don't expect it to work there) no matter what I do.
  4. If I slowly drag the bottom right corner of the screen I can watch it do the redraws. It doesn't get them right fairly often.

I've attached a video that shows the behavior under cmd. It does the same thing on power shell.

Is there more to running textual on windows than the PIP install?

textual_test.mp4

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