From e54d4643f5585fe5303f48d3e055f10f87abe7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9A=E6=9C=A8=E9=89=89?= <740291272@qq.com> Date: Sat, 10 Apr 2021 23:37:32 +0800 Subject: [PATCH] Update terminal.cpp --- src/ftxui/screen/terminal.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ftxui/screen/terminal.cpp b/src/ftxui/screen/terminal.cpp index e86c82d..fea187e 100644 --- a/src/ftxui/screen/terminal.cpp +++ b/src/ftxui/screen/terminal.cpp @@ -6,7 +6,11 @@ #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN + +#ifndef NOMINMAX #define NOMINMAX +#endif + #include #else #include