patch 8.1.2027: MS-Windows: problem with ambiwidth characters
Problem: MS-Windows: problem with ambiwidth characters.
Solution: handle ambiguous width characters in ConPTY on Windows 10 (1903).
(Nobuhiro Takasaki, closes #4411)
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 9f5f5e0..f9c5367 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -1192,7 +1192,8 @@
CCCTERM = $(CC) -c $(CFLAGS) -Ilibvterm/include -DINLINE="" \
-DVSNPRINTF=vim_vsnprintf \
-DIS_COMBINING_FUNCTION=utf_iscomposing_uint \
- -DWCWIDTH_FUNCTION=utf_uint2cells
+ -DWCWIDTH_FUNCTION=utf_uint2cells \
+ -DGET_SPECIAL_PTY_TYPE_FUNCTION=get_special_pty_type
$(OUTDIR)/%.o : libvterm/src/%.c $(TERM_DEPS)
$(CCCTERM) $< -o $@