This commit is contained in:
Mahmood Ali 2019-05-15 13:01:05 -04:00
parent c057c6dc44
commit bfd229918a
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ func setRawTerminalOutput(stream interface{}) (cleanup func(), err error) {
return func() { term.RestoreTerminal(fd, state) }, nil
}
// watchTerminalSize watches terminal size changes to propogate to remote tty.
// watchTerminalSize watches terminal size changes to propagate to remote tty.
func watchTerminalSize(out io.Writer, resize chan<- api.TerminalSize) (func(), error) {
fd, isTerminal := term.GetFdInfo(out)
if !isTerminal {