From 2cb98ee67e0331695dad0d63947198a2320ba12d Mon Sep 17 00:00:00 2001
From: anekos
Date: Tue, 12 Apr 2011 18:49:15 +0900
Subject: input prompt がうまくうごかなかったのを修正
---
maine_coon.js | 12 ++++++++++--
1 file 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 =
メインクーン
Make the screen larger
なるべくでかい画面で使えるように
- 2.6.1
+ 2.6.2
anekos
3.0
https://github.com/vimpr/vimperator-plugins/raw/master/maine_coon.js
@@ -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);
}
--
cgit v1.2.3