diff options
author | anekos | 2011-04-12 18:49:15 +0900 |
---|---|---|
committer | anekos | 2011-04-12 18:49:15 +0900 |
commit | 2cb98ee67e0331695dad0d63947198a2320ba12d (patch) | |
tree | 78446a6eb4b6946bc0a8b1b86e552ce14f725dc5 /maine_coon.js | |
parent | 259bc343d15c2276d26d838643d5eb2264a31cda (diff) | |
download | vimperator-plugins-2cb98ee67e0331695dad0d63947198a2320ba12d.tar.bz2 |
input prompt がうまくうごかなかったのを修正
Diffstat (limited to 'maine_coon.js')
-rw-r--r-- | maine_coon.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/maine_coon.js b/maine_coon.js index 76b8c52..f7ee430 100644 --- a/maine_coon.js +++ b/maine_coon.js @@ -38,7 +38,7 @@ let PLUGIN_INFO = <name lang="ja">メインクーン</name> <description>Make the screen larger</description> <description lang="ja">なるべくでかい画面で使えるように</description> - <version>2.6.1</version> + <version>2.6.2</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <minVersion>3.0</minVersion> <updateURL>https://github.com/vimpr/vimperator-plugins/raw/master/maine_coon.js</updateURL> @@ -374,6 +374,7 @@ let elemStyle = } U.around(commandline, 'input', function (next, args) { + bottomBar.collapsed = false; let result = next(); inputting = true; return result; @@ -397,7 +398,14 @@ let elemStyle = return r; }, true); - let (callback = function (next) (inputting = false, next())) { + let ( + callback = function (next) { + if (autoHideCommandLine) + bottomBar.collapsed = true; + inputting = false; + return next(); + } + ) { U.around(commandline._callbacks.submit, modes.PROMPT, callback, true); U.around(commandline._callbacks.cancel, modes.PROMPT, callback, true); } |