diff --git a/pkg/commands/streamer/common.go b/pkg/commands/streamer/common.go index d9516995..b3aa1bb7 100644 --- a/pkg/commands/streamer/common.go +++ b/pkg/commands/streamer/common.go @@ -7,9 +7,3 @@ type CommonStream struct { IsTerminal bool State *term.State } - -func (s *CommonStream) RestoreTerminal() { - if s.State != nil { - term.RestoreTerminal(s.Fd, s.State) - } -}