cargo: Revert version update on ansi-to-tui
#702
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
which apparently causes custom styling to be lost on the currently selected line.
I noticed that the last version increase contained a bunch of dependency updates (#700). One of the updated dependencies was
ansi-to-tui
, which had a major version increase from 3 to 4. Unfortunately their Changelog isn't up to date, but in the Git history I found this commit which, as far as I can tell, changes the handling of the reset ANSI code, probably justifying the major version increase.Before the update (or with this patch applied), my active line looks like this:
whereas with the current version, I get this:
As far as I can tell this change was introduced in 9db8b2c, but at a quick glance I don't see an immediate connection between the code added there and the theming issues I experience now (apart from the version bump in
ansi-to-tui
). Maybe the code needs to be patched, or the theming in my config is broken? In any case, this PR "fixes" the issue for me.