]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Add support for TERM=tmux-256color
authorSamuel Lijin <redacted>
Sat, 6 Mar 2021 02:26:50 +0000 (18:26 -0800)
committerGitHub <redacted>
Sat, 6 Mar 2021 02:26:50 +0000 (18:26 -0800)
scripts/mouse.pl

index 27e45e5317c9dbc4c397462ce853eb03d2b5a0dd..d9debc74d22478ba1a94fc4d0040fcf1de561f5b 100644 (file)
@@ -23,7 +23,7 @@ use Math::Trig;
 
 use vars qw($VERSION %IRSSI);
 
-$VERSION = '1.1.1';
+$VERSION = '1.1.2';
 %IRSSI = (
        authors         => 'Wouter Coekaerts',
        contact         => 'wouter@coekaerts.be',
@@ -31,7 +31,7 @@ $VERSION = '1.1.1';
        description     => 'control irssi using mouse clicks and gestures',
        license         => 'GPLv2 or later',
        url             => 'http://wouter.coekaerts.be/irssi/',
-       changed         => '2019-01-14',
+       changed         => '2021-03-05',
 );
 
 my @BUTTONS = ('', '_middle', '_right');
@@ -132,7 +132,7 @@ sub UNLOAD {
        mouse_disable();
 }
 
-if ($ENV{"TERM"} !~ /^rxvt|screen|xterm(-(256)?(color|kitty))?$/) {
+if ($ENV{"TERM"} !~ /^rxvt|screen|xterm|tmux(-(256)?(color|kitty))?$/) {
        die "Your terminal doesn't seem to support this.";
 }
 
git clone https://git.99rst.org/PROJECT