From 6152361fcb6b83fe502b0dea5118c4848268f1d9 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 21 Nov 2007 03:46:31 +0000 Subject: [PATCH] (init_display) [WINDOWSNT]: Hardcode terminal_type. --- src/dispnew.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dispnew.c b/src/dispnew.c index 3c4ba18ce35..312ec38f445 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 -- 2.39.2