packer-cn/vendor/github.com/bgentry/speakeasy
Adrien Delorme 2f97dc2933 go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
..
.gitignore go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
LICENSE go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
LICENSE_WINDOWS Revert "Remove a bunch of unused dependencies (godep v54+ required)" 2016-02-22 11:44:12 -08:00
Readme.md Revert "Remove a bunch of unused dependencies (godep v54+ required)" 2016-02-22 11:44:12 -08:00
speakeasy.go go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
speakeasy_unix.go go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
speakeasy_windows.go go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00

Readme.md

Speakeasy

This package provides cross-platform Go (#golang) helpers for taking user input from the terminal while not echoing the input back (similar to getpasswd). The package uses syscalls to avoid any dependence on cgo, and is therefore compatible with cross-compiling.

GoDoc

Unicode

Multi-byte unicode characters work successfully on Mac OS X. On Windows, however, this may be problematic (as is UTF in general on Windows). Other platforms have not been tested.

License

The code herein was not written by me, but was compiled from two separate open source packages. Unix portions were imported from gopass, while Windows portions were imported from the CloudFoundry Go CLI's Windows terminal helpers.

The license for the windows portion has been copied exactly from the source (though I attempted to fill in the correct owner in the boilerplate copyright notice).