Commit 470dba87 authored by Siong-Ui Te's avatar Siong-Ui Te

update suggested on default key event

parent bab2d91c
......@@ -23,7 +23,8 @@ func inputKeyupEventHandler(key string) {
go showWordDefinitionInModal(word)
}
default:
println("default")
word := GetInputValue()
SetModalWords(GetSuggestedWordsHtml(word, 7))
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment