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

Line Display in Wetty on a Large Monitor #491

Open
ubyte-source opened this issue Aug 22, 2023 · 0 comments
Open

Line Display in Wetty on a Large Monitor #491

ubyte-source opened this issue Aug 22, 2023 · 0 comments

Comments

@ubyte-source
Copy link

Environment:

Monitor Size: Large
Browser: Google Chrome (latest version)
OS: Windows 10
Description:
When using Wetty on a large monitor, it displays only 24 lines. The expectation is for the terminal to adjust dynamically to the screen resolution and font size, thereby showing more lines.

Reproduction Steps:

Launch Wetty.
Open the software's menu for:
a. Autofit rows
b. Set manually the rows' count
Expected Result:
The terminal should adjust the displayed line count based on screen resolution and font size too.

Actual Result:

An error is produced when manually adjusting the row count. The error message displayed is as follows:
editor.js:14 Configuration Error Error: Option "cols" can only be set in the constructor at Term._checkReadonlyOptions (xterm.js:4:273693) at Term.s (xterm.js:4:273462) at set options [as options] (xterm.js:4:275583) at onInput (editor.js:7:18) at editor.contentWindow.wetty_save_config (configuration.js:22:7) at HTMLInputElement.saveConfig (functionality.js:156:10)
The autofit feature does not function correctly, resulting in a display of only 24 lines.

Additional Information:
Upon invoking the window.wetty_term.resize(100, 70) function, the terminal resized correctly.

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

No branches or pull requests

1 participant