mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 08:54:10 +00:00
chore: lint
This commit is contained in:
parent
b28a070a28
commit
5c19ddba61
14 changed files with 33 additions and 8 deletions
|
|
@ -63,7 +63,10 @@ async function keyListener(event) {
|
|||
|
||||
if (ctrlMeta && event.keyCode === Key.S) {
|
||||
hide();
|
||||
} else if (ctrlMeta && event.keyCode === Key.P) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ctrlMeta && event.keyCode === Key.P) {
|
||||
const [, pattern] = await Dialog.prompt('Apply pattern:', '[n][e]');
|
||||
pattern && applyPattern(pattern);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue