aboutsummaryrefslogtreecommitdiffstats
path: root/colour-popup
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-08-04 17:52:35 +0000
committerTom Feist <shabble@cowu.be>2010-08-04 17:52:35 +0000
commit011c65a31356c33a8f3b406f6cf57da41e21756e (patch)
tree355fac9ab64a118eada3372c9a33a74950140936 /colour-popup
parentinitial add of mirc_colour_popup.pl (diff)
downloadirssi-scripts-011c65a31356c33a8f3b406f6cf57da41e21756e.tar.gz
irssi-scripts-011c65a31356c33a8f3b406f6cf57da41e21756e.zip
some stuff with colour popups
Diffstat (limited to 'colour-popup')
-rwxr-xr-x[-rw-r--r--]colour-popup/colour_popup.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/colour-popup/colour_popup.pl b/colour-popup/colour_popup.pl
index b12c4f6..037d106 100644..100755
--- a/colour-popup/colour_popup.pl
+++ b/colour-popup/colour_popup.pl
@@ -5,7 +5,7 @@
#
# usage:
#
-# after loading the script, add the statusbar item somewhere convenient:
+# after loading the script, add the statusbar item somewhere convenient:
# /statusbar window add -after barstart colours
#
@@ -21,7 +21,7 @@ $VERSION = "1.0";
name => "mirc_colour_popup",
description => "Shows a mIRC-style colour popup when you hit ^C.",
license => "Public Domain",
- changed => "9.26.2008",
+ changed => "31/7/2010",
);
@@ -36,7 +36,7 @@ sub colours_sb {
if( $vis ) {
$txt = join " ", map { "\%$colours[$_]$_" } 0 .. 15;
}
- $item->default_handler($get_size_only, "{sb $txt}", undef, 1);
+ $item->default_handler($get_size_only, "\%0{sb $txt}", undef, 1);
}