Issue Description
In the output of podman inspect, there is a field for the container's TTY size (ConsoleSize), which Podman presently only returns [0,0] for. This should be fixed to return the actual terminal size for containers that attach a TTY.
Steps to reproduce the issue
Steps to reproduce the issue
podman run -t -i --rm fedora bash
podman inspect -l
Describe the results you received
ConsoleSize returns [0,0]
Describe the results you expected
A sensible value describing the actual size of the terminal
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
Issue Description
In the output of
podman inspect, there is a field for the container's TTY size (ConsoleSize), which Podman presently only returns [0,0] for. This should be fixed to return the actual terminal size for containers that attach a TTY.Steps to reproduce the issue
Steps to reproduce the issue
podman run -t -i --rm fedora bashpodman inspect -lDescribe the results you received
ConsoleSizereturns [0,0]Describe the results you expected
A sensible value describing the actual size of the terminal
podman info output
N/APodman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting