mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
In Windows containers in TP5, DEL is interpreted as the delete key, but Linux generally interprets it as backspace. This prevents backspace from working when using a Linux terminal or the native console terminal emulation in Windows. To work around this, translate DEL to BS in Windows containers stdin when TTY is enabled. Do this only for builds that do not have the fix in Windows itself. Signed-off-by: John Starks <jostarks@microsoft.com> Upstream-commit: f124829c9b35377de2a8316b7e23aa7a8c5d7b23 Component: engine