diff options
Diffstat (limited to 'lib/termcap.pl')
-rw-r--r-- | lib/termcap.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termcap.pl b/lib/termcap.pl index 5b48d71720..22c18179d8 100644 --- a/lib/termcap.pl +++ b/lib/termcap.pl @@ -33,7 +33,7 @@ sub Tgetent { while (<TERMCAP>) { next if /^#/; next if /^\t/; - if (/(^|\\|)$TERM[:\\|]/) { + if (/(^|\\|)$TERM\[:\\|]/) { chop; while (chop eq '\\\\') { \$_ .= <TERMCAP>; |