Skip to content
New issue

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

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

Already on GitHub? # to your account

Better support terminal #341

Merged
merged 2 commits into from
Jul 12, 2018

Conversation

Random-Liu
Copy link
Contributor

Fixes #288.
Fixes #181.

Add full terminal support:

  1. Raw tty on the client side;
  2. Support terminal resize.

@Random-Liu Random-Liu added this to the v1.11.1 milestone Jul 12, 2018
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 12, 2018
Signed-off-by: Lantao Liu <lantaol@google.com>
@Random-Liu Random-Liu force-pushed the better-support-terminal branch from 1d2f31e to a55a051 Compare July 12, 2018 04:04
return exec.Stream(streamOptions)
if !tty {
return executor.Stream(streamOptions)
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

else is redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Lantao Liu <lantaol@google.com>
@Random-Liu Random-Liu force-pushed the better-support-terminal branch from a55a051 to 43a1bbe Compare July 12, 2018 20:54
@yujuhong
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 12, 2018
@Random-Liu Random-Liu merged commit e8b5f38 into kubernetes-sigs:master Jul 12, 2018
@Random-Liu Random-Liu deleted the better-support-terminal branch July 12, 2018 21:36
@Random-Liu Random-Liu mentioned this pull request Jul 12, 2018
Random-Liu added a commit that referenced this pull request Jul 12, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants