commit 286c60eb7cfab4e2564ac75c3e0d3b51aa9bac25 parent 595e81e45de7df20eb7d38ebd085c5e2f8c23051 Author: Byron Torres <b@torresjrjr> Date: Tue, 24 Nov 2020 11:23:47 +0000 Use const tmp; clear in subshell to stop flicker Diffstat:
M | fetch | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fetch b/fetch @@ -63,9 +63,8 @@ ${c6}tmux: ${c0}${tmux_sessions} " ## Print fetch -tmpfile=$(mktemp) +tmpfile=/tmp/fetch_graphic.tmp printf '%s' "${graphic}" > "${tmpfile}" -clear -printf '%s\n' "$( printf '%s' "${status}" | paste -d '' "${tmpfile}" - )" +printf '%s\n' "$( clear; printf '%s' "${status}" | paste -d '' "${tmpfile}" - )" # @torresjrjr