You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.
If you change paste_prompt to include color codes, the cursor is placed too far to the right after printing the prompt, indicating that strlen is calculated using the number of bytes in the string, not the number of actually printed characters.
The text was updated successfully, but these errors were encountered:
This probably affects all operating systems, it would seem odd if this were OS dependant, but I entered OpenBSD since this is the only OS I've been able to try it on.
Yep, running into the same issue with a theme I am trying to create.
There are other, possibly related bugs with input-prompt width calculations, when Unicode is included in status bar items before the prompt itself. For instance, my timestamp format includes Unicode characters, and there's a timestamp status bar item before the input area on my prompt bar; this causes odd mis-calculation bugs on the width, such as the first character of input “overlapping” the last character of the timestamp (but only sometimes; it “flickers” as things redraw, and sometimes the input prompt overrides the timestamp, and sometimes vice-versa.) Some relevant screenshots:
If you change paste_prompt to include color codes, the cursor is placed too far to the right after printing the prompt, indicating that strlen is calculated using the number of bytes in the string, not the number of actually printed characters.
The text was updated successfully, but these errors were encountered: