From 57cfdeeaf01b48ad9b6d1f052d76567764239c78 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 16 Sep 2019 13:54:30 +0300 Subject: [PATCH] Revert "os: fix get_line in windows" This reverts commit 279f7d57cb53e10b7054fffb292de19e4d3b4133. --- compiler/main.v | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/main.v b/compiler/main.v index 1cbab05a1f..d305b435b0 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -333,7 +333,6 @@ fn (v mut V) generate_main() { cgen.genln('void init_consts() { #ifdef _WIN32 #ifndef _BOOTSTRAP_NO_UNICODE_STREAM -_setmode(_fileno(stdin), _O_U16TEXT); _setmode(_fileno(stdout), _O_U8TEXT); SetConsoleMode(GetStdHandle(STD_OUTPUT_HANDLE), ENABLE_PROCESSED_OUTPUT | 0x0004); // ENABLE_VIRTUAL_TERMINAL_PROCESSING