change it to TERM=character
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3791 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
b92bf2f469
commit
9a32677a10
|
@ -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. *)
|
||||
|
|
Loading…
Reference in New Issue