Commit 039e5d71 authored by Karl Heuer's avatar Karl Heuer
Browse files

(init_display) [HAVE_LIBNCURSES]: If X, call tgetent.

parent 71012575
......@@ -2510,6 +2510,12 @@ init_display ()
Vwindow_system_version = make_number (11);
#else
Vwindow_system_version = make_number (10);
#endif
#if defined (LINUX) && defined (HAVE_LIBNCURSES)
/* In some versions of ncurses,
tparm crashes if we have not called tgetent.
So call tgetent. */
{ char b[2044]; tgetent (b, "xterm");}
#endif
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment