plugins for wvkbd using swipeGuess
Diffstat (limited to 'predictor.sh')
-rwxr-xr-xpredictor.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/predictor.sh b/predictor.sh
index d266f11..f2ad3bb 100755
--- a/predictor.sh
+++ b/predictor.sh
@@ -36,6 +36,8 @@ while read -r swipe; do
grep -i -m 5 "^$word " "$twow" |awk '(1){printf $2; i++}(i<5){printf "\t"}END{print ""}' >> "$sock"
rm -f "$lw"
fi
+ elif test "$swipe" = "$(echo -e "\x08")"; then
+ rm -f "$lw"
else
printf "$swipe" >> "$lw"
fi