-
Notifications
You must be signed in to change notification settings - Fork 464
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
chezmoi diff
panics with tea.unknownCSISequenceMsg: unknown message type
#3662
Comments
chezmoi diff
panicschezmoi diff
panics with tea.unknownCSISequenceMsg: unknown message type
Thanks for reporting this. This is a bug in charmbracelet/bubbletea that chezmoi uses for its interactive input. The version of bubbletea has not changed, so the bug is still present. Do you have any way to reproduce it? |
Probably can be reproduced with big I am not 100% sure about this method, but I previously got this error with this conditions |
I have no idea unfortunately, I'm still not quite sure what triggered the bug in the first place.
I don't think mouse input is related, I was able to get this consistently on every |
Actually, I could restore from my backup yesterday and see if I can reproduce the panic, I'll try that. |
https://github.com/charmbracelet/bubbletea/blob/3e050bbad12f880dbe960129d20663ecd836e775/key.go#L544 I suspect this means that something in the diff/one of my files was triggering the error (supported by the fact that |
Yeah I couldn't reproduce it unfortunately, they I'm sure it's not about the diff length because I had a huge diff at one point and that didn't crash |
Note: this issue seems to have resolved itself after I ran
chezmoi update
, but I wanted to open a ticket anyway for posterity's sake.Describe the bug
chezmoi diff
panics, here's its output:To reproduce
I don't really know how to reproduce this, just running
chezmoi diff
triggered the panic for me.Expected behavior
chezmoi diff
doesn't panic.Output of command with the
--verbose
flagI didn't get to do this before the issue was fixed >:(
Output of
chezmoi doctor
(After the issue was fixed)
Additional context
Terminal is GNOME Console.
The text was updated successfully, but these errors were encountered: