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

..15-Feb-2020-

.gitignoreH A D15-Feb-202036 32

LICENSEH A D15-Feb-20201.2 KiB2519

LICENSE_WINDOWSH A D15-Feb-202010.6 KiB202169

Readme.mdH A D15-Feb-20201.3 KiB3122

speakeasy.goH A D15-Feb-20201.1 KiB5036

speakeasy_unix.goH A D15-Feb-20202.5 KiB9457

speakeasy_windows.goH A D15-Feb-2020864 4228

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