Skip to content

winpty 0.4.0

Compare
Choose a tag to compare
@rprichard rprichard released this 29 Jun 04:50
· 63 commits to master since this release

The winpty library has a new API that should be easier for embedding.
880c00c69e

User-visible changes:

  • winpty now automatically puts the terminal into mouse mode when it detects
    that the console has left QuickEdit mode. The --mouse option still forces
    the terminal into mouse mode. In principle, an option could be added to
    suppress terminal mode, but hopefully it won't be necessary. There is a
    script in the misc subdirectory, misc/ConinMode.ps1, that can change
    the QuickEdit mode from the command-line.
  • winpty now passes keyboard escapes to bash.exe in the Windows Subsystem
    for Linux.
    #82

Bug fixes:

  • By default, winpty.dll avoids calling SetProcessWindowStation within
    the calling process.
    #58
  • Fixed an uninitialized memory bug that could have crashed winpty.
    #80
  • winpty now works better with very large and very small terminal windows.
    It resizes the console font according to the number of columns.
    #61
  • winpty no longer uses Mark to freeze the console on Windows 10. The Mark
    command could interfere with the cursor position, corrupting the data in
    the screen buffer.
    #79

Files:

Name Description
winpty-0.4.0-cygwin-2.5.2-ia32.tar.gz winpty compiled for 32-bit Cygwin
winpty-0.4.0-cygwin-2.5.2-x64.tar.gz winpty compiled for 64-bit Cygwin
winpty-0.4.0-msys.tar.gz winpty compiled for the original MSYS (from mingw.org)
winpty-0.4.0-msys2-2.5.1-ia32.tar.gz winpty compiled for 32-bit MSYS2
winpty-0.4.0-msys2-2.5.1-x64.tar.gz winpty compiled for 64-bit MSYS2
winpty-0.4.0-msvc2015.zip winpty binaries compiled with MSVC 2015 (no winpty.exe)

All the packages also contain winpty.lib and C header files. Except for winpty.exe, binaries are compiled with MinGW/MinGW-w64/MSVC and depend only on Windows system DLLs. The msvc2015 package contains binaries for both 32-bit and 64-bit architectures and binaries compiled with both the normal toolset (v140) and the XP-targeting toolset (v140_xp).

AFAIK, the XP-targeting binaries in the msvc2015 package work fine on later OSs, but I know with certainty that the non-XP-targeting binaries do not run on XP or Server 2003. Maybe the non-XP binaries should be left out of future packages for clarity. The binaries in the other packages all should work fine on XP and later.