From b0368d85b68012ea62d81111daf722fcef63677d Mon Sep 17 00:00:00 2001 From: Andrejus Date: Fri, 13 Mar 2026 17:17:07 +0000 Subject: [PATCH] fix(prompt): restore cursor visibility on every prompt Emit \e[?25h in precmd to fix hidden cursor after abrupt SSH disconnects or interrupted TUI applications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- home/.zsh/prompt.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.zsh/prompt.zsh b/home/.zsh/prompt.zsh index 084888b..2cb3cf0 100644 --- a/home/.zsh/prompt.zsh +++ b/home/.zsh/prompt.zsh @@ -243,6 +243,7 @@ _dots_preexec() { _dots_precmd() { local e=$? d=0 + printf '\e[?25h' # Only show exit code if a command actually ran (( _dots_prompt_cmd_ran )) || e=0 _dots_prompt_cmd_ran=0