plugins for wvkbd using swipeGuess
predictor: fix wtype for words starting with '-'
Zach DeCook 2022-05-16
parent 42e62ec · commit a096796
-rwxr-xr-xpredictor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/predictor.sh b/predictor.sh
index 931ce88..b59e1fa 100755
--- a/predictor.sh
+++ b/predictor.sh
@@ -19,9 +19,9 @@ saveWord(){
typeSomehow(){
while read -r word; do
if test -e "$complete"; then
- test -n "${word:1}" && wtype "${word:1}"
+ test -n "${word:1}" && wtype -- "${word:1}"
else
- wtype "$word"
+ wtype -- "$word"
fi
done
}