add del key
This commit is contained in:
parent
a137c21d2d
commit
a8c47291cd
1 changed files with 6 additions and 0 deletions
|
@ -113,6 +113,12 @@ const Listeners = {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
case 127: // if DEL is pressed
|
||||||
|
if (e.ctrlKey || e.metaKey) {
|
||||||
|
e.preventDefault()
|
||||||
|
Control.deleteSelected()
|
||||||
|
}
|
||||||
|
break
|
||||||
case 191: // if / is pressed
|
case 191: // if / is pressed
|
||||||
if (e.ctrlKey || e.metaKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
Search.focus()
|
Search.focus()
|
||||||
|
|
Loading…
Add table
Reference in a new issue