10 Commits

Author SHA1 Message Date
Guillaume J. Charmes
ab4a70c372 Closes #111. Close chan in README example. 2021-04-05 15:58:33 -04:00
Sebastiaan van Stijn
097644e6ac README: replace deprecated crypto/ssh/terminal (#108)
The golang.org/x/crypto/ssh/terminal package was deprecated
in favor of golang.org/x/term.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-11-24 09:41:28 -05:00
Guillaume J. Charmes
8a22c94093 s/kr/creack/ in README
Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>
2019-06-29 10:59:02 -04:00
Guillaume J. Charmes
1278f20d9c Add shell example to readme
Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>
2018-01-06 14:11:30 -05:00
Keith Rarick
c46bdbf4af remove obsolete caveat 2012-12-03 23:34:44 -08:00
Keith Rarick
b07888f6df fix race in sample code
Don't close the pty directly; instead send an EOT to
cause the terminal to indicate end-of-file in the
slave device. Closing the pty caused io.Copy to return
early. Fixes #7.
2012-12-03 23:17:35 -08:00
Keith Rarick
59dd1489cc work with new os/exec 2012-02-01 21:46:36 -08:00
Keith Rarick
411b3baef3 simply remove the broken darwin implementation 2011-08-15 14:43:39 -07:00
Keith Rarick
e4a07d1891 document that darwin is broken 2011-05-24 12:08:10 -07:00
Keith Rarick
12319125d6 initial 2011-05-03 14:24:49 -07:00