You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tried the following in both MINGW64 and UCRT64
$ pacman -Syu
$ pacman -S mingw-w64-ucrt-x86_64-python-pip # Installs Python 3.11.10
$ pacman -S mingw-w64-ucrt-x86_64-rust # Not used yet, but to show what I've installed so far
$ python -m pip install virtualenv # Install in a clean Python environment
$ python -m virtualenv ~/textual-test
$ source ~/textual-test/bin/activate
$ pip install textual # Installs Textual 0.83.0
$ python -m textual
Expected behavior
Textual's demo UI will appear, and we can point and click on items in the terminal's UI to navigate it in addition to using the set keyboard shortcuts
Actual behavior
Textual's demo UI appears, but cannot be interacted with. The keyboard shortcuts work fine though.
When running the UCRT64 and MINGW64 environments through Windows Terminal, however, UI interactivity works. UI interactivity also works on Cygwin terminals, so this appears to be specific to MSYS2's terminals.
From the MSYS2 Discord (link), other users have reported that this problem is reproducible when running MSYS2 on a clean, full FAT VM Win 10 install, but not on that of Win 11, which indicates that something must have changed in the mintty terminal behaviour.
tieneupin
changed the title
Python's Textual doesn't work on MSYS2 terminals
Python's Textual doesn't work on MSYS2 terminals on Windows 10
Oct 14, 2024
Description / Steps to reproduce the issue
Expected behavior
Textual's demo UI will appear, and we can point and click on items in the terminal's UI to navigate it in addition to using the set keyboard shortcuts
Actual behavior
Textual's demo UI appears, but cannot be interacted with. The keyboard shortcuts work fine though.
When running the UCRT64 and MINGW64 environments through Windows Terminal, however, UI interactivity works. UI interactivity also works on Cygwin terminals, so this appears to be specific to MSYS2's terminals.
From the MSYS2 Discord (link), other users have reported that this problem is reproducible when running MSYS2 on a clean, full FAT VM Win 10 install, but not on that of Win 11, which indicates that something must have changed in the mintty terminal behaviour.
Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
No; I don't know enough to be able to contribute a PR yet.
The text was updated successfully, but these errors were encountered: