diff --git a/pkg/compose/run.go b/pkg/compose/run.go index 542e20d35..fee2e7f40 100644 --- a/pkg/compose/run.go +++ b/pkg/compose/run.go @@ -180,7 +180,7 @@ func (s *composeService) prepareRun(ctx context.Context, project *types.Project, } func (s *composeService) getEscapeKeyProxy(r io.ReadCloser, isTty bool) (io.ReadCloser, error) { - if isTty { + if !isTty { return r, nil } var escapeKeys = []byte{16, 17}