]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Add support for TERM=alacritty to mouse.pl
authorGeorge Tsiamasiotis <redacted>
Fri, 3 Apr 2026 12:18:54 +0000 (15:18 +0300)
committerGeorge Tsiamasiotis <redacted>
Fri, 3 Apr 2026 13:55:53 +0000 (16:55 +0300)
scripts/mouse.pl

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