From 01383c606c0d7ef1f844f26feebe4c4f3805aa3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 4 Jun 2024 19:09:05 +0200 Subject: [PATCH] osdep/terminal-win: remove unnecessary compatibility defines No longer neeeded after 9f8b4b38c97f0697fbc3a9b30e4e856337cd6dcf. --- osdep/terminal-win.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/osdep/terminal-win.c b/osdep/terminal-win.c index 26565c45b0..3051b57dbe 100644 --- a/osdep/terminal-win.c +++ b/osdep/terminal-win.c @@ -33,15 +33,6 @@ #include "osdep/threads.h" #include "osdep/w32_keyboard.h" -// https://docs.microsoft.com/en-us/windows/console/setconsolemode -// These values are effective on Windows 10 build 16257 (August 2017) or later -#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING - #define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004 -#endif -#ifndef DISABLE_NEWLINE_AUTO_RETURN - #define DISABLE_NEWLINE_AUTO_RETURN 0x0008 -#endif - // Note: the DISABLE_NEWLINE_AUTO_RETURN docs say it enables delayed-wrap, but // it's wrong. It does only what its names suggests - and we want it unset: // https://github.com/microsoft/terminal/issues/4126#issuecomment-571418661