-
Notifications
You must be signed in to change notification settings - Fork 250
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
[BUG] Panic when resizing the Terminal too small #731
Comments
Hi, and thanks for the report! Will have a look. |
Would you happen to have an example that can cause the crash? I'm trying with the |
Can confirm that this issue occurs with cursive 0.21.1 and alacritty 0.13.2. Other terminals also generate the same error when resizing (XFCE Terminal, Gnome Terminal, Ptyxis, etc.). Resizing the window—making it larger and then smaller—consistently triggers this issue.
line 521 is the assert_eq macro in the draw fn
|
Describe the bug
To Reproduce
Create a layout with an edit view and resize the terminal very small
Expected behavior
It doesn't crash and when I resize it back to big the layout is still there
Environment
locale
in a terminal)0.20.0 from crates.io
Additional context
Terminal used: Alacritty
The text was updated successfully, but these errors were encountered: