fix: right prompt in zsh

This commit is contained in:
nwykes 2020-10-06 16:51:22 -06:00 committed by Jan De Dobbeleer
parent 1df8feef10
commit 529fc75e9b

View file

@ -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.linebreak = "\n"
r.formats.linechange = "%%{\x1b[%d%s%%}"
r.formats.left = "%%{\x1b[%d%%}"
r.formats.left = "%%{\x1b[%dC%%}"
r.formats.right = "%%{\x1b[%dD%%}"
r.shell = zsh
default: