~earboxer/SwipeBehaviors

a09679604a5db635d6598bd996a44cdfd43e7f57 — Zach DeCook 4 months ago 42e62ec
predictor: fix wtype for words starting with '-'
1 files changed, 2 insertions(+), 2 deletions(-)

M predictor.sh
M predictor.sh => predictor.sh +2 -2
@@ 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
}