← All repos

winpty

A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.

Browse cluster: Cluster 170
578commits
11contributors
7languages

Tech stack & purpose

winpty is a Windows software package that provides a Unix pty-master-like interface for communicating with Windows console programs. It consists of a library called libwinpty and a tool for Cygwin and MSYS that allows Windows console programs such as CMD and PowerShell to run properly under mintty or Cygwin's sshd with correct handling of input and output. The software works by launching a hidden winpty-agent.exe process with its own console window that bridges between the Windows console API and terminal escape codes. The project is built with C++11 and requires MinGW and Cygwin or MSYS toolchains for compilation, though it can also be compiled with MSVC 2013 or newer.

Languages

C++
87.2%
C
4.4%
Python
3.9%
Makefile
2.1%
Shell
1.0%
PowerShell
0.7%
Batchfile
0.7%

Contributors