mirror of
https://github.com/vim/vim.git
synced 2025-10-22 08:34:29 -04:00
patch 9.1.1677: wrong ifdef in message.c
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>
This commit is contained in:
committed by
Christian Brabandt
parent
57379302aa
commit
2306b2df42
@@ -1457,9 +1457,10 @@ wait_return(int redraw)
|
||||
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;
|
||||
|
@@ -724,6 +724,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1677,
|
||||
/**/
|
||||
1676,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user