Problem: wrong ifdef in message.c
Solution: change it to #ifndef MSWIN (Damien Lejay)
The extra newline on screen switch is needed for all TTY/termcap
backends (Unix, VMS, others).
Only Windows uses a different console API.
Better use #ifndef MSWIN to express the real intent.
closes: #18076
Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
setmouse();
msg_check();
-#if defined(UNIX) || defined(VMS)
+#ifndef MSWIN
/*
- * When switching screens, we need to output an extra newline on exit.
+ * On TTY-style terminals (all but Windows), an extra newline is
+ * needed when switching screens on exit.
*/
if (swapping_screen() && !termcap_active)
newline_on_exit = TRUE;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1677,
/**/
1676,
/**/