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

Resizing line width in Terminal not working #41

Open
am93 opened this issue Jan 31, 2020 · 3 comments
Open

Resizing line width in Terminal not working #41

am93 opened this issue Jan 31, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@am93
Copy link

am93 commented Jan 31, 2020

While using Snowflake by running jar file on MacOS, I can't resize line width in Terminal window. It seems that it is fixed to 80 characters.

@subhra74
Copy link
Owner

Will check it on mac

@subhra74 subhra74 added the bug Something isn't working label Jan 31, 2020
@jeb218
Copy link

jeb218 commented Apr 21, 2020

Same thing happening on linux

@jeb218
Copy link

jeb218 commented Apr 21, 2020

you can replace in src/main/java/snowflake/components/terminal/TerminalHolder.java

Dimension dimension = new Dimension(200,
        this.cmbTerminals.getPreferredSize().height);

with

Dimension dimension = new Dimension(this.cmbTerminals.getPreferredSize().width,
        this.cmbTerminals.getPreferredSize().height);

and then compile yourself to resolve this issue (only tested in linux but I assume it will fix in other OSs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants