-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Starship multi-line prompt doubles up when line wrapping #16
Comments
Hey @TheLostLambda - I just pushed some fixes to main that might solve this issue. Could you give it a go? |
Hum... do you think I can reproduce this easily somehow? |
Hmm, do you not have the same issue when working with the Starship prompt? I'm happy to do some more debugging later in the week (though the first part of it is quite busy!) |
Tbh, I think I had some issue with installing starship and never came back to it. :) |
I think these are actually 3 different errors, if I'm reading correctly? Original is "fragment out of bounds", second is "cursor out of bounds" and third is "unhandled csi", right? |
Yeah but I guess first two share at least a way to repoduce. |
Yeah, for sure. I would guess that one has to do with us not limiting the width of new panes. If you feel like working on that, maybe we can open a new issue for it? |
Opened a new issue here: #21 |
@TheLostLambda - I think I fixed this. The fix is in main, would you mind confirming when you have the chance? |
Hey @imsnif ! Did you fix the crash or the double-line bug? I'm pretty sure I'm still getting the crash on master 😢 I can help do some more proper debugging if you'd like? |
Both vertical and horizontal split are crashing for me at the moment with the same: |
Oi, no - I fixed the double line bug. :O So, normal starship prompt works ok but when you split the screen it crashes, or? |
It seems to behave as long as I don't split anything or resize the window at least, yeah :) |
Right! So let's open a new issue for that. I'll take a look at it. Would you mind doing it? I think it would be easier for you to describe how to reproduce it. |
No worries! Can do a bit later this evening :) |
Awesome, thanks! |
I think this is an issue with the current implementation of line wrapping and should hopefully be fixed in the refactoring of the very same area in the code that I'm doing right now. @TheLostLambda, I'll ping you to give this another shot once it's done - thanks!
The text was updated successfully, but these errors were encountered: