iamacarpet / go-winpty

Bindings for WinPTY in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go-WinPTY

GoLang Wrapper for WinPTY.dll

Small wrapper around the WinPTY DLL.

This, for example, should allow a Go app to serve up a Windows "cmd" or "powershell" prompt via WebSocket to 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!

About

Bindings for WinPTY in Go

License:Apache License 2.0


Languages

Language:JavaScript 72.0%Language:CSS 18.1%Language:Go 8.6%Language:HTML 1.3%