mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-25 17:17:43 +00:00
Deselect suggestions when one is selected.
This commit is contained in:
parent
7588af3284
commit
805c8b3fe9
2 changed files with 3 additions and 1 deletions
|
|
@ -190,6 +190,8 @@ async function asyncRepl(modelFile) {
|
|||
|
||||
// Ask for suggestions.
|
||||
suggestions = await askForPredictions();
|
||||
// Since we chose a selection, it's best to UNSELECT the new suggestions
|
||||
selectedSuggestionIndex = null;
|
||||
renderSuggestions();
|
||||
|
||||
} else if (keypress.name === 'backspace') {
|
||||
|
|
|
|||
2
common/test/predictive-text/package-lock.json
generated
2
common/test/predictive-text/package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "lmlayer-cli",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue