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

Terminal size is bigger than the browser window when a non-default font size is used #415

Closed
oskar456 opened this issue Jul 21, 2020 · 0 comments · Fixed by #416
Closed
Labels

Comments

@oskar456
Copy link
Contributor

Hello,

I am using ttyd with tmux with a slightly bigger font size (-t fontSize=20). I've noticed that upon opening the browser window for the first time, the green bottom line of tmux is invisible and when I start interacting with the terminal, my cursor can go below the bottom screen edge.

Example screenshot

It gets fixed by resizing the browser window for the first time. The problem is not there when using the default font size. Is there a way I could force recaluculating the screen size upon opening of the terminal?

tsl0922 pushed a commit that referenced this issue Jul 23, 2020
Fixes #415

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant