-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Character position twisted #895
Comments
|
Thanks, I solved it by run |
Well, this is probably caused by the I also tried to restore a backup and comment this element. Problem solved. Any idea? |
What is the output of the following command? print -r -- ${icons[NETWORK_ICON]} |
|
☝️ |
Thanks, I observe this:
I tried to fall back to some old image, I get this from the following.
Maybe something breaks after the v1.12.0? |
If you want to show how it looks, you'll need to post screenshots. Posting just text doesn't work because my browser can render it differently from your terminal. Note that you don't need to censor the IP because it's on a private network. If prompt is shorter/longer than the frame, you can find out which symbol is causing issues by copy-pasting a part of the prompt. Also please follow the guide I linked above and try what it suggests. E.g., verify that you don't have the awful iTerm2 option to display ambiguous characters as double width turned on. |
So the problem is that your terminal incorrectly displays I'll need to change the default icon used by typeset -g POWERLEVEL9K_NETWORK_ICON='\uF50D' |
By the way, https://github.com/romkatv/powerlevel10k/blob/master/README.md#if-the-prompt-line-is-shorter-than-the-frame-and-is-mangled already describes your case. I wonder what could be made clearer so that you could identify it yourself. |
Sorry, I didn't know much about the encoding. I checked #241 and this is the result. So I thought this is caused by:
instead of a macOS low-level bug. |
Maybe provide an example like |
I don't understand. Let's forget that I've asked this question. I've replaced the default icon. Since you are using prezto, you won't pick up this fix until the next powerlevel10k release. You can keep |
I think I misunderstand the solution in #241. I should be able to identify the problem. Thank you for your reply. |
Current Behavior
The characters shifted somehow when I press the Tab to complete the command.
And it also happens when I try to move my cursor.
Another weird behavior is that the cursor will quickly fall back one position after finishing initialization.
Steps to Reproduce:
zstyle ':prezto:module:prompt' theme
topowerlevel10k
Context (Environment):
OS: macOS Catalina 10.15.5
Terminal: iTerm2, Terminal.app
manager: prezto
Detailed Description
This happens when I updated the powerlevel10k to the latest version.
I tried to record the screen using terminalizer, but it work smoothly in the rendered gif... I've no idea.
Did anyone get this problem?
The text was updated successfully, but these errors were encountered: