1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/term
Ahmet Alp Balkan 0532dcf3dc term/winconsole: Identify tty correctly, fix resize problem
This change fixes a bug where stdout/stderr handles are not identified
correctly.

Previously we used to set the window size to fixed size to fit the default
tty size on the host (80x24). Now the attach/exec commands can correctly
get the terminal size from windows.

We still do not `monitorTtySize()` correctly on windows and update the tty
size on the host-side, in order to fix that we'll provide a
platform-specific `monitorTtySize` implementation in the future.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-26 15:11:28 -07:00
..
winconsole term/winconsole: Identify tty correctly, fix resize problem 2015-03-26 15:11:28 -07:00
tc_linux_cgo.go Use termios via CGO only on Linux 2014-11-25 20:49:01 +09:00
tc_other.go Use termios via CGO only on Linux 2014-11-25 20:49:01 +09:00
term.go winconsole: cleanup 2015-03-22 15:47:54 -04:00
term_windows.go Disable ANSI emulation in certain windows shells 2015-03-23 18:38:43 +00:00
termios_darwin.go Use termios via CGO only on Linux 2014-11-25 20:49:01 +09:00
termios_freebsd.go Use termios via CGO only on Linux 2014-11-25 20:49:01 +09:00
termios_linux.go Use termios via CGO 2014-11-21 22:12:03 +09:00