aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basta.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/basta.sh b/basta.sh
index a2823bb..f2fc432 100644
--- a/basta.sh
+++ b/basta.sh
@@ -315,7 +315,6 @@ basta.fullscreen()
local saveterm=
local force=
local ttyfd
- local args=$(printf "%q " "$@")
while true; do
case $1 in
@@ -336,6 +335,8 @@ basta.fullscreen()
shift
done
+ local args=$(printf "%q " "$@")
+
if ! [ -t 1 ] && ! [ $force ] ; then
eval command $args
return $?