-
Notifications
You must be signed in to change notification settings - Fork 483
crossterm (re)size broken #250
Comments
Well, afaik the resize event should be handled manually in |
@heyrict "your events.rs"? as I said I am referring to the |
@extrawurst Got it 👌 |
I quickly reiterate the findings based on #252 (see #252 (comment)) The problem seems to be the fact that |
I now tried to build against the recent crossterm
🙈 |
Oh, my fault. I've just run the crossterm demo on the master branch, and found resizing just works. It seems that the crossterm demo will implicitly send a tick event when resize in L54, and I've closed the PR as there is no need to add an explicit one.
What if you handle the |
Nope handling the Result means no input event is arrives anymore, this seems to be a separate issue/regression with crossterm release trying all commits from there It is also obvious that this is the commit that broke the resizing which means that for now the safest way is to pin crossterm for everyone to
everything went south from there - |
some update: the input issue on crossterm was fixed (crossterm-rs/crossterm#404):
now we are back to just having the resize issue |
I can confirm that the resizing issue itself is also a regression in crossterm: crossterm-rs/crossterm#406 |
this fixes fdehau#250 because crossterm `0.17.3` has a fix for the resize/size issue
crossterm |
this fixes #250 because crossterm `0.17.3` has a fix for the resize/size issue Co-Authored-By: Florian Dehau <[email protected]> Co-authored-by: Florian Dehau <[email protected]>
Describe the bug
In order to prepare the pull request for the Clear-feature (#244) I pulled in the master and realized that crossterm terminal sizing seems broken: (see screenshot)
The terminal seems to have a default size and not using up the actual terminal size.
Also the resize events are not changing anything.
To Reproduce
In my case (macOS) I only need to run the Crossterm-demo:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
Additional context
This was working as intended in the previous release
The text was updated successfully, but these errors were encountered: