Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Container#resize support #571

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

leoagomes
Copy link

This PR adds #resize to Container instances. It is the same code as the one from Exec#resize with slight changes to the documentation.

There seems to be no tests for Exec#resize, so I decided on checking here for ideas prior to writing anything. One suggestion would be to create a container, resize it, run tput lines (and tput cols) and verify that the output is as expected, but I'm not entirely sure on the best way to go about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant