You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hmm but that other issue is not about "crash when there is not enough space to render all splits" but just "opening a large number of vsplits causes a crash" so the exact number doesn't matter. And your patch also fixes that issue too so its really the same thing.
Set the terminal size, so the number of splits to cause the failure is
consistent.
Test Document
Steps to Reproduce
Release
thread 'main' panicked at 'index out of bounds: the len is 1920 but the index is 1920', helix-tui/src/buffer.rs:517:17
Debug
thread 'main' panicked at 'attempt to subtract with overflow', helix-view/src/tree.rs:407:50
Description
The window area height calculation goes negative (overflows) when there are more windows than will fit in the display area.
Related Bugs and PRs
#1084 #4642
The text was updated successfully, but these errors were encountered: