diff --git a/init.zsh b/init.zsh index 5417df9..a7340ed 100644 --- a/init.zsh +++ b/init.zsh @@ -204,10 +204,10 @@ zle -N zle-line-init __zsh_clear_screen_and_scrollback() { echoti civis >"$TTY" printf '%b' '\e[H\e[2J' >"$TTY" - zle .reset-prompt - zle -R printf '%b' '\e[3J' >"$TTY" echoti cnorm >"$TTY" + zle .reset-prompt + zle -R } zle -N __zsh_clear_screen_and_scrollback bindkey '^L' __zsh_clear_screen_and_scrollback