Workaround Docker bug with term size settings
This commit is contained in:
parent
db41dfa0a3
commit
0e0ceebd9e
|
@ -66,6 +66,8 @@ export function bash(cmdline) {
|
|||
// single command (no shell logic).
|
||||
cmdline = "exec " + cmdline;
|
||||
}
|
||||
// Workaround https://github.com/moby/moby/issues/25450
|
||||
cmdline = "stty cols 80 rows 24; " + cmdline;
|
||||
return ["bash", "-c", `set -euo pipefail; ${cmdline}`];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue