mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
fix: right prompt in zsh
This commit is contained in:
parent
1df8feef10
commit
529fc75e9b
|
@ -49,7 +49,7 @@ func (r *Renderer) init(shell string) {
|
||||||
r.formats.transparent = "%%{\x1b[%s;49m\x1b[7m%%}%s%%{\x1b[m\x1b[0m%%}"
|
r.formats.transparent = "%%{\x1b[%s;49m\x1b[7m%%}%s%%{\x1b[m\x1b[0m%%}"
|
||||||
r.formats.linebreak = "\n"
|
r.formats.linebreak = "\n"
|
||||||
r.formats.linechange = "%%{\x1b[%d%s%%}"
|
r.formats.linechange = "%%{\x1b[%d%s%%}"
|
||||||
r.formats.left = "%%{\x1b[%d%%}"
|
r.formats.left = "%%{\x1b[%dC%%}"
|
||||||
r.formats.right = "%%{\x1b[%dD%%}"
|
r.formats.right = "%%{\x1b[%dD%%}"
|
||||||
r.shell = zsh
|
r.shell = zsh
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue