소스 검색

Actually fix #8811

The initial PR had the wrong boolean check. This commit addressed it.

fixes #8811

Signed-off-by: Andreas Resios <[email protected]>
Andreas Resios 4 년 전
부모
커밋
e3204e7c4e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pkg/compose/run.go

+ 1 - 1
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}