tiny refactor

Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
Wang Long
2016-11-30 20:53:37 +08:00
parent 4c013a1524
commit 1b401664d1
+1 -2
View File
@@ -4,8 +4,7 @@ import "io"
// Console represents a pseudo TTY.
type Console interface {
io.ReadWriter
io.Closer
io.ReadWriteCloser
// Path returns the filesystem path to the slave side of the pty.
Path() string