From e3204e7c4eaa5158a41cc3aa0cfe85ac347a4b74 Mon Sep 17 00:00:00 2001 From: Andreas Resios Date: Thu, 21 Oct 2021 12:09:13 +0300 Subject: [PATCH] Actually fix #8811 The initial PR had the wrong boolean check. This commit addressed it. fixes #8811 Signed-off-by: Andreas Resios --- pkg/compose/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}