Skip to content

Commit ac8069b

Browse files
committed
patch 8.0.1192: MS-Windows: terminal feature not enabled by default
Problem: MS-Windows: terminal feature not enabled by default. Solution: Enable it. (Ken Takata)
1 parent 6199d43 commit ac8069b

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

src/Make_cyg_ming.mak

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ FEATURES=HUGE
4747
# Set to yes to cross-compile from unix; no=native Windows (and Cygwin).
4848
CROSS=no
4949
# Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'.
50+
# Use "yes" when the path does not need to be define.
5051
#ICONV="."
5152
ICONV=yes
5253
GETTEXT=yes
@@ -74,7 +75,11 @@ else
7475
CHANNEL=$(GUI)
7576
endif
7677
# Set to yes to enable terminal support.
78+
ifeq (HUGE, $(FEATURES))
79+
TERMINAL=yes
80+
else
7781
TERMINAL=no
82+
endif
7883

7984
ifndef CTAGS
8085
# this assumes ctags is Exuberant ctags

src/Make_mvc.mak

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# is yes)
3838
# Global IME support: GIME=yes (requires GUI=yes)
3939
#
40-
# Terminal support: TERMINAL=yes (default is no)
40+
# Terminal support: TERMINAL=yes (default is yes)
4141
#
4242
# Lua interface:
4343
# LUA=[Path to Lua directory]
@@ -361,6 +361,14 @@ CSCOPE_OBJ = $(OBJDIR)/if_cscope.obj
361361
CSCOPE_DEFS = -DFEAT_CSCOPE
362362
!endif
363363

364+
!ifndef TERMINAL
365+
!if "$(FEATURES)"=="HUGE"
366+
TERMINAL = yes
367+
!else
368+
TERMINAL = no
369+
!endif
370+
!endif
371+
364372
!if "$(TERMINAL)" == "yes"
365373
TERM_OBJ = \
366374
$(OBJDIR)/terminal.obj \

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1192,
764766
/**/
765767
1191,
766768
/**/

0 commit comments

Comments
 (0)