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

[Windows] Vertical resize only expanding view #102

Closed
Fjolnir-Dvorak opened this issue Mar 9, 2017 · 4 comments
Closed

[Windows] Vertical resize only expanding view #102

Fjolnir-Dvorak opened this issue Mar 9, 2017 · 4 comments
Assignees
Labels

Comments

@Fjolnir-Dvorak
Copy link

Fjolnir-Dvorak commented Mar 9, 2017

The view is not resized to a smaller size if I am descreasing the vertical axis of the terminal. Tested on windows 10 Powershell, cmd, GitCMD. Well, powershell is special because here only the enlarenment is working...

... just started to program in go using this library / tool so I am not yet ready to solve and commit this issue on my own.

@Fjolnir-Dvorak
Copy link
Author

And silly me commited the issue to gocui without checking if wuzz just used the library in a wrong way or forgot something to implement. I am sorry.

@Fjolnir-Dvorak
Copy link
Author

It seems like the responsibility lies in this project. the value gocui.Gui.Size is not changing for negativ changes in the height of the terminal. To be sure I tested this scenario on all linked child projects getting the same results.

@jroimartin
Copy link
Owner

I've just added the following example: size. Can you run it from the different terminals and check if the values change accordingly to the resize event?

gocui uses termbox-go under the hood, which is the package used to interact with the terminal:

https://github.com/jroimartin/gocui/blob/master/gui.go#L425

So, if it does not work, it should be reported to termbox-go.

@jroimartin jroimartin self-assigned this Aug 15, 2017
@jroimartin
Copy link
Owner

I'm closing the issue, as it doesn't seem to be related to gocui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants