mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 01:18:15 +00:00
fix(console) ctrl + z: abort
This commit is contained in:
parent
ded5720b48
commit
16305362c8
1 changed files with 2 additions and 1 deletions
|
|
@ -64,9 +64,10 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
|
||||
jqconsole = $(Element).jqconsole('', '> ');
|
||||
// Abort prompt on Ctrl+Z.
|
||||
|
||||
jqconsole.RegisterShortcut('Z', function() {
|
||||
jqconsole.AbortPrompt();
|
||||
handler();
|
||||
jqconsole.Prompt(true, handler);
|
||||
});
|
||||
|
||||
jqconsole.RegisterShortcut('P', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue