mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(console) Ctrl + Z: abort -> setPromptText
This commit is contained in:
parent
e384e85fdf
commit
33180db13d
1 changed files with 1 additions and 3 deletions
|
|
@ -63,11 +63,9 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
});
|
||||
|
||||
jqconsole = $(Element).jqconsole('', '> ');
|
||||
// Abort prompt on Ctrl+Z.
|
||||
|
||||
jqconsole.RegisterShortcut('Z', function() {
|
||||
jqconsole.AbortPrompt();
|
||||
jqconsole.Prompt(true, handler);
|
||||
jqconsole.SetPromptText('');
|
||||
});
|
||||
|
||||
jqconsole.RegisterShortcut('P', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue