Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "textual run" results in a broken display #2406

Closed
bclemmey opened this issue Apr 27, 2023 · 1 comment · Fixed by #2424
Closed

Command "textual run" results in a broken display #2406

bclemmey opened this issue Apr 27, 2023 · 1 comment · Fixed by #2424
Labels

Comments

@bclemmey
Copy link

Since updating to 0.21.0 textual run has been broken. Also tested and the same happens in 0.22.0. Instead of the application displaying I get the following:

image

Moving the mouse around spams various characters on screen in the position you can see them in in the screenshot. Cannot break out of the application using ctrl+c, the terminal window has to be closed.
If run using python main.py instead the app loads as expected. Downgrading to a 0.20.x release also clears the issue.

Tested in powershell and cmd with the same result. I am running Windows 11.

Example app used to confirm, only textual installed to a venv.

from textual.app import App, ComposeResult
from textual.widgets import Label

class App(App):
    def compose(self) -> ComposeResult:
        yield Label("Example")

if __name__ == '__main__':
    app = App()
    app.run()

Textual Diagnostics

Versions

Name Value
Textual 0.22.0
Rich 13.3.4

Python

Name Value
Version 3.10.5
Implementation CPython
Compiler MSC v.1929 64 bit (AMD64)
Executable C:\Users\Ben Clemmey\PycharmProjects\instanceBrowser\venv\Scripts\python.exe

Operating System

Name Value
System Windows
Release 10
Version 10.0.22621

Terminal

Name Value
Terminal Application Windows Terminal
TERM Not set
COLORTERM Not set
FORCE_COLOR Not set
NO_COLOR Not set

Rich Console options

Name Value
size width=79, height=25
legacy_windows True
min_width 1
max_width 79
is_terminal False
encoding cp1252
max_height 25
justify None
overflow None
no_wrap False
highlight None
markup None
height None
@Textualize Textualize deleted a comment from github-actions bot Apr 27, 2023
@davep davep added the Task label Apr 27, 2023
@willmcgugan willmcgugan mentioned this issue Apr 28, 2023
@github-actions
Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants