Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.63k stars 578 forks source link

Wrong right prompt position with powerlevel10k theme #2149

Open myy1966 opened 4 years ago

myy1966 commented 4 years ago

Versions

ConEmu build: 200615 x64 OS version: Windows 1909 x64 Used shell version: zsh 5.1.1

Problem description

When setting oh-my-zsh theme to powerlevel10k, the right prompt spans two lines. 捕获

In the windows terminal and mobaxterm, it is in the correct position。 捕获1

I am using OpenSSH which comes with windows 10, both in ConEmu and windows terminal. When I set the theme to powerlevel10k in WSL1, the same phenomenon appeared.

All setting is the default, how can I fix it?

Maximus5 commented 4 years ago

The answer depends on how do you run ssh.exe (there are dozens of options: cygwin, msys, wsl1, wsl2, openssh, whatever...) And if you use connector.

myy1966 commented 4 years ago

The answer depends on how do you run ssh.exe (there are dozens of options: cygwin, msys, wsl1, wsl2, openssh, whatever...) And if you use connector.

I am using OpenSSH which comes with windows 10, both in ConEmu and windows terminal. I don't use connector, just ordinary windows cmd when ssh to the remote.

In addition, when I set the theme to powerlevel10k in WSL1, the same phenomenon appeared.