Helix panics on goto_window_center
when lines fill less than half the screen
#5965
Labels
C-bug
Category: This is a bug
Summary
Helix panics when trying to go to center of window (when less than half the screen populated)
helixcrash3.mov
Reproduction Steps
I tried this:
RUST_BACKTRACE=1 hx
ge
zt
gc
I expected this to happen:
Probably something similar to
align_view_center
Instead, this happened:
hx
panics and crashes.Helix log
~/.cache/helix/helix.log
helix.log
only has a bunch of LSP messages, but here is the backtrace, which seems to be clear enough where the problem is:Platform
macOS
Terminal Emulator
alacritty 0.10.1 (2844606)
Helix Version
22.12-262-g2bebc504
The text was updated successfully, but these errors were encountered: