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
On Debian LXC Containers The first characters entered are displayed twice #691
Comments
I'm experiencing the same thing in WSL2 on Windows 11 in both Windows Terminal and Alacritty. Also, I'm using starship.rs as my prompt - also happens with default oh-my-zsh prompt. I found, that if I my prompt character is either a unicode character or a UTF-8 symbol (like an arrow) then the error happens. When my prompt is a simple Therefore I suspect that the issue stems from the character length ambiguity from the terminal emulator, where sometimes it's larger than 1 for unicode - this is likely what is causing a trip-up for this plugin. I have no idea about how to fix this and am perfectly happy using a simple |
Hi @schwanberger thanks for your reply, so I'm not alone with this. And yes, you're right, I tested it and with a normal '>' instead of the arrow it works fine. I'm just wondering why it works on some systems and not on others. Maybe something is missing. |
Using the default WSL way to get a shell, it turns out it is not a login shell. I concluded that the issue stems from locale issues - which is stated many times when googling the issue. This also explains why the issue was not present in emacs (vterm) since a login shell was created there. Perhaps you (@ciddi89)* could check locale stuff and ensure you have an interactive login shell? *EDIT: Ping author |
hmm okay, I'm not really familiar with it so I had to read what it is first. To my understanding it is an interactive login shell.
So I don't know, maybe I'm wrong and you can help me to find the right way. |
On LXC Containers running Debian there is a curiouse bug. Or maybe I missed a setting? The first two entered characters are displayed twice. On Debian VM and MacOS there is no problem and the plugin is running fine.
I'm using it as zsh plugin
My Debian Version:
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Here some screenshots:
The text was updated successfully, but these errors were encountered: