This commit is contained in:
Kovid Goyal
2023-07-14 06:49:28 +05:30
parent d4f9d22c92
commit 94e2aeb38c

View File

@@ -4033,7 +4033,7 @@ the screen, instead of just clearing the screen. For ZSH, in :file:`~/.zshrc`, a
.. code-block:: zsh
ctrl_l() {
builtin print -rn -- $'\r\e[0J\e[H\e[22J' >"$TTY"
builtin print -rn -- $'\\r\e[0J\e[H\e[22J' >"$TTY"
builtin zle .reset-prompt
builtin zle -R
}