-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
My team have been running a Python Textual app in MSYS2's UCRT64 environment through a Command Prompt terminal. We had to use the Command Prompt terminal instead of the default mintty because the Textual app could not be clicked when run in a mintty termnial.
However, the recent msys2-runtime package update to >3.5.7-2-x86_64 has caused the app to glitch out when switching to a new screen. Instead of displaying a screen, it prints out characters according to mouse movement within the console window area.
Understanding what changed between version 3.5.7-2-x86_64 and 3.5.7-4-x86_64 and seeing what can be done to resolve it would be very appreciated.
(Additional context below)
The Problem:
- When running our app using MSYS2's default
minttyterminal, we can't click on any of the buttons in the console. - This behaviour is present across the wide range of Windows 10 versions we work with (Windows 10 Server 2016 & 2019, Windows 10 Professional & Home).
- This is unique to Windows 10, as users on the MSYS2 Discord channel have not been able to replicate the issue on Windows 11.
- This problem is not present in Cygwin's
minttyterminal on these same Windows 10 versions; the Textual app's buttons all work as intended. - These are externally managed PCs, so updating them is out of the question.
What We've Tried So Far:
- This problem does not occur when MSYS2 is run via Windows Terminal.
- It is not supported for the Windows 10 versions present on the PCs we manage, so it is not a viable solution.
- We found a workaround where we run an MSYS2 session in a Command Prompt console.
- This involved creating a Command Prompt shortcut and pointing to MSYS2 in the "Target" field as follows:
cmd.exe /k "C:\msys64\msys2_shell.cmd -defterm -no-start -ucrt64 -shell bash". - The Textual app runs in that case; the buttons are clickable, although the UI occasionally displays funny characters.
- This involved creating a Command Prompt shortcut and pointing to MSYS2 in the "Target" field as follows:
- Updating
msys2-runtimeto >3.5.7-2-x86_64 causes this Command Prompt console workaround to fail.
Metadata
Metadata
Assignees
Labels
No labels