summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormh2015-12-20 05:12:37 +0100
committermh2015-12-20 05:12:37 +0100
commit162248a471f0e5c4e8245f766427e42fdb91bb48 (patch)
treed9b6903b4412dd20daddfcac98b30ee6a0580583
parentabd0bd37cc3ff87b561474e0cf20151a7ff35651 (diff)
downloadscripts.irssi.org-162248a471f0e5c4e8245f766427e42fdb91bb48.tar.bz2
mh_windowfill.pl v1.06
fill windows so scrolling starts bottom-up instead of top-down (screenshots in source) changes: added changed field to irssi header
-rw-r--r--scripts/mh_windowfill.pl11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/mh_windowfill.pl b/scripts/mh_windowfill.pl
index 550d239..6475d1d 100644
--- a/scripts/mh_windowfill.pl
+++ b/scripts/mh_windowfill.pl
@@ -1,6 +1,6 @@
##############################################################################
#
-# mh_windowfill.pl v1.05 (20151206)
+# mh_windowfill.pl v1.06 (20151220)
#
# Copyright (c) 2015 Michael Hansen
#
@@ -27,6 +27,8 @@
# with script: http://picpaste.com/e3b84ead852e3e77b12ed69383f1f80c.png
#
# history:
+# v1.06 (20151220)
+# added changed field to irssi header
# v1.05 (20151206)
# added a few comments
# v1.04 (20151128)
@@ -58,7 +60,7 @@ use strict;
use Irssi 20100403;
use Irssi::TextUI;
-our $VERSION = '1.05';
+our $VERSION = '1.06';
our %IRSSI =
(
'name' => 'mh_windowfill',
@@ -67,6 +69,7 @@ our %IRSSI =
'authors' => 'Michael Hansen',
'contact' => 'mh on IRCnet #help',
'url' => 'http://scripts.irssi.org / https://github.com/mh-source/irssi-scripts',
+ 'changed' => 'Sun Dec 20 05:07:00 CET 2015',
);
##############################################################################
@@ -162,13 +165,13 @@ sub command_clear
#
##############################################################################
-windowfill_all();
-
Irssi::signal_add_last('mainwindow resized', 'windowfill_all');
Irssi::signal_add_last('window created', 'windowfill');
Irssi::command_bind('clear', 'command_clear');
+windowfill_all();
+
1;
##############################################################################