Skip to content

Textual doesn't appear to work on MSYS2 terminals #5115

@tieneupin

Description

@tieneupin

Have you checked closed issues? https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed
Yes. I only managed to find one issue related to MSYS2 that doesn't appear relevant to the problem encountered.

Please give a brief but clear explanation of the issue. If you can, include a complete working example that demonstrates the bug. Check it can run without modifications.

  • Tried installing Textual for use in MSYS2 environments (MINGW64, UCRT64) on a Windows 10 device.
$ pacman -S mingw-w64-ucrt-x86_64-python-pip  # Installs python v3.11.10
$ python -m pip install virtualenv
$ python -m virtualenv ~/textual-test  # Install Textual in a clean virtual env
$ source ~/textual-test/bin/activate
$ pip install textual
$ python -m textual 
  • When activating Textual to run the demo (python -m textual), the UI that appears is non-interactive, although the keyboard shortcuts work
    • Unable to click on anything in the UI
    • Shortcuts to toggle dark mode (Ctrl + T), to bring up the sidebar (Ctrl + B), etc. are still functional, but the screens they bring up cannot be interacted with.
  • This problem doesn't occur with the Cygwin terminal.

It will be helpful if you run the following command and paste the results:

textual diagnose
  • textual diagnose just brings up the demo UI

If you don't have the textual command on your path, you may have forgotten to install the textual-dev package.

Feel free to add screenshots and / or videos. These can be very helpful!

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