Reset cursor position in agent-cmd.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user