lem
lem copied to clipboard
[Windows] [lem-pdcurses] winpty crashes if resizing screen so that the cursor is hidden on Windows 10
On Windows 10, winpty crashes if resizing screen so that the cursor is hidden. (On Windows 8.1, there is no problem.)
It seems to be concerned with the following issue. https://github.com/microsoft/terminal/issues/1976
I made a modified version of winpty to fix this issue. (It also fixes #453 .) https://github.com/Hamayama/winpty-fixes https://github.com/Hamayama/winpty-fixes-package
Its installation procedure is as follows.
-
Download winpty (modified version) Download the package file for MSYS2/MinGW-w64 environment from https://github.com/Hamayama/winpty-fixes-package/releases
-
Install winpty (modified version) Open 'MSYS2 MinGW 64-bit Shell' from program menu and run the following commands.
pacman -U winpty-fixes-0.4.4-2-x86_64.pkg.tar.xz
-
Run lem-pdcurses Please see the usage of lem-pdcurses in https://github.com/cxxxr/lem/wiki/Windows-Platform . (NOTE : Lem must be up to date.)
Is this still an issue? The MS terminal issue #1976 was closed and marked as fixed in Nov. 2020.
Similar questions for lem issue #453 and #454.
I rechecked these issues (2021-1-6).
#532 is not solved. (Windows Terminal 1.4.3243.0) #453 is not solved. (winpty 0.4.3) #454 is not solved. (PDCurses 4.1.0)
For now, the workaround is to use modified version as written in #531 and #532. ( I also added the note to the following wiki page. https://github.com/lem-project/lem/wiki/Windows-Platform )
Just checking in to see if this has been tested recently. Looking at microsoft/terminal#1976 it seems that there were some unresolved issues in early Jan that were corrected on the 29th.
🎉This issue was addressed in #8309, which has now been successfully released as Windows Terminal v1.5.10271.0.🎉
Handy links:
Release Notes Store Download
Does anyone have an opinion on https://github.com/McParen/croatoan ? If things are as broken as they seem to be on MS Windows, would it be better to start over with some other combination of tech?