change it to TERM=character

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3791 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2001-09-26 07:33:07 +00:00
parent b92bf2f469
commit 9a32677a10
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ let rec highlight_locations loc1 loc2 =
None -> false
| Some lb ->
try
if Sys.getenv "TERM" = "dumb" then false else raise Not_found
if Sys.getenv "TERM" = "character" then false else raise Not_found
with Not_found ->
try
(* Char 0 is at offset -lb.lex_abs_pos in lb.lex_buffer. *)