mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix #446: you can now edit completions you select with space
This commit is contained in:
parent
15ca28fb3e
commit
c948658e56
1 changed files with 3 additions and 3 deletions
|
@ -197,8 +197,8 @@ clInput.addEventListener("keydown", function(keyevent) {
|
|||
|
||||
case " ":
|
||||
const command = getCompletion()
|
||||
if (command)
|
||||
fillcmdline(command, false)
|
||||
activeCompletions.forEach(comp => (comp.completion = undefined))
|
||||
if (command) fillcmdline(command, false)
|
||||
break
|
||||
}
|
||||
|
||||
|
@ -281,7 +281,7 @@ function process() {
|
|||
|
||||
const [func, ...args] = command.trim().split(/\s+/)
|
||||
|
||||
if (func.length === 0 || func.startsWith('#')) {
|
||||
if (func.length === 0 || func.startsWith("#")) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue