From 741d6d0117cdd3871704a7eb89336adf90518fca Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Thu, 12 May 2022 22:49:03 +1000 Subject: [PATCH] dont need this --- pkg/commands/streamer/common.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/commands/streamer/common.go b/pkg/commands/streamer/common.go index d951699..b3aa1bb 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) - } -}