From daf76780eb7a91d0c4b878d36f785a834e23183a Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 21 May 2026 11:44:11 +0100 Subject: [PATCH] Reset cursor position in agent-cmd.sh --- agent-cmd.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/agent-cmd.sh b/agent-cmd.sh index 71beddd..3f00145 100755 --- a/agent-cmd.sh +++ b/agent-cmd.sh @@ -30,6 +30,10 @@ agent=$(printf '%s\n' "${agents[@]}" | fzf \ --margin="0,$hmargin" \ --padding=1) +# Reset cursor so the agent doesn't render starting where fzf left it. +tput cup 0 0 +tput ed + if [ -n "$agent" ]; then "$agent" || true fi