Skip to content

How to set the terminal stty cols and rows through exec API ? #3641

@gohonsen

Description

@gohonsen

Describe the bug
Hey, I want to enter the k8s pod container to run shell commands through web terminal, but I found that after the web terminal page size changed, I cann't synchronize set terminal size through exec API, and the page display is disordered.
Is there any way to set the terminal stty cols and rows ? Thanks a lot

Client Version
18.0.1

Kubernetes Version
v1.28.0

Java Version
Java 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions