-
Notifications
You must be signed in to change notification settings - Fork 99
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
scrolling down on commit list with 'Invalid collation character' errors slowly garbles screen #39
Comments
Thanks for reporting this. There are two parts to this issue:
The second part of the issue is similar to what was reported in #25. I suspect that displaying the error window causes the garbled appearance of the screen in some way. So I wanted to check, when you run grv with |
Sorry for being unspecific :-) With |
Yeah, garbling, looks pretty similar to that shown in #25, although it's locale-related for me and the error message is different. |
Thanks for confirming the behaviour. The issue with the screen getting garbled is now fixed on master. I've had a brief look into the collation error and it appears that it is being returned by libgit2. I will need to look into this more and possibly raise an issue against libgit2. |
I can confirm the screen garbling itself is fixed. Error messages (max 5) are now displayed properly as intended. |
Yes, I've had a chance to look into this a bit further. The issue appears to be locale related. GRV calls |
A workaround has been put in place and this issue should be resolved on master. It doesn't seem like the issue raised against libgit2 will be easy to resolve. So GRV now shells out to |
@flokli Based on your comments on the commit, a For users with |
Closing this as a workaround has been in place for a while now. |
I invoked grv (0.1.2) on a git checkout of the linux tree (at b89e32ccd1be92a3643df3908d3026b09e271616), tabbed to the git log, and moved the cursor down 13 times to commit babcbbc.
There seems to be some garbled encoding somewhere in this commit (although I couldn't find it using a
git show
), grv doesn't update the commit message and keeps showing 8e44e66 in the message pane, but the cursor advances, and an error messageInvalid collation character
is shown on the bottom of the screen.Moving down further, space to show more error messages gets allocated (as the regular 'window height' seems to get reduced), but the messages are not shown, and the window rendering gets garbled.
The collation error seems to be related to my locale (en_US.UTF-8), and is gone when invoking with
LANG=C
.The text was updated successfully, but these errors were encountered: