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
Describe the bug
Crash panicked when handling json! with a line in the json that is too long (166 chars)
thread 'main' panicked at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.28.1/src/widgets/scrollbar.rs:570:10:
Scrollbar area is empty
To Reproduce
Create a request with a body !json
set the json value to have a line that is longer than 166 chars
If you have slumber opened, just click your request in the scrollbar, go to it and it will crash
if you didn't start slumber yet, it crashes on start
ex that works:
I'll put out a release today with the fix version this. I noticed you're on 2.5.0, the new version will be 3.0.1 which will require a major upgrade for you. It should be painless though; patch notes for 3.0.0 are here
Did you search for existing issues already? Yes
Describe the bug
Crash panicked when handling json! with a line in the json that is too long (166 chars)
To Reproduce
ex that works:
ex that crashed (1 extra char):
Expected behavior
Not to crash
Screenshots
CF thread panick
Version (please complete the following information):
Additional context
Tried in embedded, with line returns, ... nothing works
The text was updated successfully, but these errors were encountered: