added cmd + backspace to clear input

This commit is contained in:
Miodec 2020-12-21 16:35:26 +00:00
parent 16778fecf8
commit 3919cff086

View file

@ -4649,6 +4649,8 @@ function handleBackspace(event) {
if (addspace) {
currentInput += " ";
}
} else if(event.metaKey){
currentInput = "";
} else {
currentInput = currentInput.substring(0, currentInput.length - 1);
}