Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: render rulers before the cursor
Render rulers before the cursor to ensure that the cursor, when over a ruler, is not hidden from view. Without this, you typically end up with 1) foreground text that is the same as the background if the ruler doesn't already have a foreground and 2) no visible cursor, because the ruler's background color took precedence. By moving the rulers before the cursor, this ensures that the theme is still rendered more or less the way one would visually expect things to turn out. Related to helix-editor#7371. Not submitting this as a patch because it doesn't seem like this is the desired solution, but it thankfully works perfectly for me.
- Loading branch information