https://github.com/iamacarpet/go-winpty
Bindings for WinPTY in Go
https://github.com/iamacarpet/go-winpty
go golang golang-wrapper winpty
Last synced: 3 months ago
JSON representation
Bindings for WinPTY in Go
- Host: GitHub
- URL: https://github.com/iamacarpet/go-winpty
- Owner: iamacarpet
- License: apache-2.0
- Created: 2016-11-16T14:51:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T17:41:51.000Z (almost 2 years ago)
- Last Synced: 2025-02-27T09:13:13.801Z (4 months ago)
- Topics: go, golang, golang-wrapper, winpty
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 59
- Watchers: 4
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-WinPTY
## GoLang Wrapper for WinPTY.dllSmall wrapper around the [WinPTY](https://github.com/rprichard/winpty) DLL.
This, for example, should allow a Go app to serve up a Windows "cmd" or "powershell" prompt via WebSocket to [xterm.js](https://github.com/sourcelair/xterm.js)
Currently requires `winpty.dll` and `winpty-agent.exe` to be in the same directory as the compiled Go executable.
These are best obtained from the GitHub releases page, in the msvc2015 package.
The error handling needs a bit of work currently though!