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

Keep Web Shell and backing ConsoleShell PTY widths in sync #296

Open
notthetup opened this issue Nov 21, 2023 · 0 comments
Open

Keep Web Shell and backing ConsoleShell PTY widths in sync #296

notthetup opened this issue Nov 21, 2023 · 0 comments
Assignees

Comments

@notthetup
Copy link
Collaborator

Currently, we use xterm and xterm's add-on fit to paint the web-based terminal and resize it when the webpage is resized.

However, that changes the width of the terminal and we need to let the PTY know that this has happened so it can re-render.

Now, the problem is we use a single PTY to serve multiple web shells, so there is no way we can keep all those web shells in sync while they resize.

So we need to explore of ways we can resize the web shell without changing it's width.

@notthetup notthetup changed the title Keep Web Shell and backing ConsoleShell PTY width's in sync Keep Web Shell and backing ConsoleShell PTY widths in sync Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants