Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 15-Feb-2020 | - | ||||
.gitignore | H A D | 15-Feb-2020 | 36 | 3 | 2 | |
LICENSE | H A D | 15-Feb-2020 | 1.2 KiB | 25 | 19 | |
LICENSE_WINDOWS | H A D | 15-Feb-2020 | 10.6 KiB | 202 | 169 | |
Readme.md | H A D | 15-Feb-2020 | 1.3 KiB | 31 | 22 | |
speakeasy.go | H A D | 15-Feb-2020 | 1.1 KiB | 50 | 36 | |
speakeasy_unix.go | H A D | 15-Feb-2020 | 2.5 KiB | 94 | 57 | |
speakeasy_windows.go | H A D | 15-Feb-2020 | 864 | 42 | 28 |
Readme.md
1# Speakeasy 2 3This package provides cross-platform Go (#golang) helpers for taking user input 4from the terminal while not echoing the input back (similar to `getpasswd`). The 5package uses syscalls to avoid any dependence on cgo, and is therefore 6compatible with cross-compiling. 7 8[![GoDoc](https://godoc.org/github.com/bgentry/speakeasy?status.png)][godoc] 9 10## Unicode 11 12Multi-byte unicode characters work successfully on Mac OS X. On Windows, 13however, this may be problematic (as is UTF in general on Windows). Other 14platforms have not been tested. 15 16## License 17 18The code herein was not written by me, but was compiled from two separate open 19source packages. Unix portions were imported from [gopass][gopass], while 20Windows portions were imported from the [CloudFoundry Go CLI][cf-cli]'s 21[Windows terminal helpers][cf-ui-windows]. 22 23The [license for the windows portion](./LICENSE_WINDOWS) has been copied exactly 24from the source (though I attempted to fill in the correct owner in the 25boilerplate copyright notice). 26 27[cf-cli]: https://github.com/cloudfoundry/cli "CloudFoundry Go CLI" 28[cf-ui-windows]: https://github.com/cloudfoundry/cli/blob/master/src/cf/terminal/ui_windows.go "CloudFoundry Go CLI Windows input helpers" 29[godoc]: https://godoc.org/github.com/bgentry/speakeasy "speakeasy on Godoc.org" 30[gopass]: https://code.google.com/p/gopass "gopass" 31