1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

osdep/terminal-win: remove unnecessary compatibility defines

No longer neeeded after 9f8b4b38c9.
This commit is contained in:
Kacper Michajłow 2024-06-04 19:09:05 +02:00
parent 4ad3db855a
commit 01383c606c

View File

@ -33,15 +33,6 @@
#include "osdep/threads.h" #include "osdep/threads.h"
#include "osdep/w32_keyboard.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 // 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: // it's wrong. It does only what its names suggests - and we want it unset:
// https://github.com/microsoft/terminal/issues/4126#issuecomment-571418661 // https://github.com/microsoft/terminal/issues/4126#issuecomment-571418661