From 9142761ed5b0e80359c14d867b6e3a7dfc651a8b Mon Sep 17 00:00:00 2001 From: snaka Date: Mon, 3 Aug 2009 14:38:27 +0000 Subject: FIX: Multiline input behavior. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34727 d0d07461-0603-4401-acd4-de1884942a52 --- maine_coon.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'maine_coon.js') diff --git a/maine_coon.js b/maine_coon.js index 6976630..b004e1e 100644 --- a/maine_coon.js +++ b/maine_coon.js @@ -38,7 +38,7 @@ let PLUGIN_INFO = メインクーン Make the screen larger なるべくでかい画面で使えるように - 2.2.2 + 2.2.3 anekos 2.0pre 2.0pre @@ -343,6 +343,14 @@ let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/) }); } + { + // for multiline input + let cmdline = document.getElementById("liberator-commandline"); + messageBox.inputField.__defineGetter__("scrollWidth", function() { + return cmdline.clientWidth; + }); + } + around(commandline, 'open', function (next, args) { messageBox.collapsed = false; return next(); -- cgit v1.2.3