plugins for wvkbd using swipeGuess
predictor: fix wtype for words starting with '-'
| -rwxr-xr-x | predictor.sh | 4 |
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 } |