File: mouse.pl.diff

package info (click to toggle)
irssi-scripts 20160301
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,624 kB
  • ctags: 2,564
  • sloc: perl: 61,025; sh: 184; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix default value for xterm
Forwarded: no
Author: Daniel Echeverry <epsilon77@gmail.com>
--- a/scripts/mouse.pl
+++ b/scripts/mouse.pl
@@ -132,7 +132,7 @@ sub UNLOAD {
 	mouse_disable();
 }
 
-if ($ENV{"TERM"} !~ /^rxvt|screen|xterm(-color)?$/) {
+if ($ENV{"TERM"} !~ /^rxvt|screen|xterm(-256color)?$/) {
 	die "Your terminal doesn't seem to support this.";
 }