diff options
author | anekos | 2011-04-11 20:38:07 +0900 |
---|---|---|
committer | anekos | 2011-04-11 20:38:07 +0900 |
commit | b93bce8cb214ffc8cfd40606cc06423908769cac (patch) | |
tree | ad96bd7b959a65f9a349dbf2a402bfb2611d990f /maine_coon.js | |
parent | 20ccd608a2d677ee4302ee589b9a95c252173ff3 (diff) | |
download | vimperator-plugins-b93bce8cb214ffc8cfd40606cc06423908769cac.tar.bz2 |
デバッグ用に around の自動削除を有効に
Diffstat (limited to 'maine_coon.js')
-rw-r--r-- | maine_coon.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/maine_coon.js b/maine_coon.js index 4ce99e1..1319dba 100644 --- a/maine_coon.js +++ b/maine_coon.js @@ -391,29 +391,29 @@ let elemStyle = let result = next(); inputting = true; return result; - }); + }, true); U.around(commandline, 'open', function (next, args) { bottomBar.collapsed = false; return next(); - }); + }, true); U.around(commandline, 'close', function (next, args) { if (autoHideCommandLine && !inputting) bottomBar.collapsed = true; return next(); - }); + }, true); U.around(commandline._callbacks.submit, modes.EX, function (next, args) { let r = next(); if (autoHideCommandLine && !inputting && !(modes.extended & modes.OUTPUT_MULTILINE)) commandline.close(); return r; - }); + }, true); let (callback = function (next) (inputting = false, next())) { - U.around(commandline._callbacks.submit, modes.PROMPT, callback); - U.around(commandline._callbacks.cancel, modes.PROMPT, callback); + U.around(commandline._callbacks.submit, modes.PROMPT, callback, true); + U.around(commandline._callbacks.cancel, modes.PROMPT, callback, true); } events.addSessionListener( |