diff --git a/src/dispnew.c b/src/dispnew.c index 3c4ba18ce35f098d4d3ea92184730c6a107276e8..312ec38f44513c6f7e85a3860f4a3d0e3025c07e 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -6893,8 +6893,12 @@ init_display () exit (1); } +#ifdef WINDOWSNT + terminal_type = "w32console"; +#else /* Look at the TERM variable. */ terminal_type = (char *) getenv ("TERM"); +#endif if (!terminal_type) { #ifdef VMS