mirror of
https://github.com/docker/compose.git
synced 2025-05-03 22:20:14 +02:00
Actually fix #8811
The initial PR had the wrong boolean check. This commit addressed it. fixes #8811 Signed-off-by: Andreas Resios <andrei.resios@gmail.com>
This commit is contained in:
parent
27f5b8536b
commit
e3204e7c4e
@ -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) {
|
func (s *composeService) getEscapeKeyProxy(r io.ReadCloser, isTty bool) (io.ReadCloser, error) {
|
||||||
if isTty {
|
if !isTty {
|
||||||
return r, nil
|
return r, nil
|
||||||
}
|
}
|
||||||
var escapeKeys = []byte{16, 17}
|
var escapeKeys = []byte{16, 17}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user