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

When file picker is open and window is resized the main thread panics #17

Closed
vv9k opened this issue Jun 1, 2021 · 2 comments
Closed
Labels
C-bug Category: This is a bug

Comments

@vv9k
Copy link
Contributor

vv9k commented Jun 1, 2021

As the title says, when the file picker window is open and I split the terminal window verticaly using tmux there is a panic:

thread 'main' panicked at 'index out of bounds: the len is 3780 but the index is 3780', helix-tui/src/buffer.rs:185:14

When I first split the window and then open the file picker it correctly scales later on when the split is closed and opened again.

@akgvn
Copy link

akgvn commented Jun 1, 2021

I get the same error when trying the launch hx on Windows (I tried using cmd, powershell, cmder and Windows Terminal):

thread 'main' panicked at 'index out of bounds: the len is 6355 but the index is 6355', helix-tui\src\buffer.rs:185:14

@IceDragon200 IceDragon200 added the C-bug Category: This is a bug label Jun 2, 2021
@archseer
Copy link
Member

archseer commented Jun 3, 2021

Fixed by c0332bd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

4 participants