aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basta.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/basta.sh b/basta.sh
index 9741991..44c5a71 100644
--- a/basta.sh
+++ b/basta.sh
@@ -290,6 +290,11 @@ basta.import_array()
# Public API functions
basta.fullscreen() {
+ if [ -n "$COMP_WORDS" ]; then
+ command "$@"
+ return $?
+ fi
+
local realrows=$(( LINES + basta_prev_reserved_rows + 1 ))
local exit=
local saveint=$(trap -p INT)
@@ -322,6 +327,11 @@ basta.fullscreen() {
}
basta.fullscreen_alt() {
+ if [ -n "$COMP_WORDS" ]; then
+ command "$@"
+ return $?
+ fi
+
local realrows=$(( LINES + basta_prev_reserved_rows + 1 ))
local curline
local i