• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

example/H17-Apr-2017-

.gitignoreH A D17-Apr-201736

LICENSEH A D17-Apr-20171.2 KiB

LICENSE_WINDOWSH A D17-Apr-201710.6 KiB

Readme.mdH A D17-Apr-20171.3 KiB

speakeasy.goH A D17-Apr-20171.1 KiB

speakeasy_unix.goH A D17-Apr-20172.5 KiB

speakeasy_windows.goH A D17-Apr-2017864

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