Skip to content
Myr

Fix Windows module

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent b3f1e18 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/windows.rs+2 added-2 removed
7 unmodified lines
89extern crate kernel32;10extern crate winapi;1112use kernel32::{GetStdHandle, GetConsoleMode, SetConsoleMode};13use winapi::{STD_OUTPUT_HANDLE, INVALID_HANDLE_VALUE};12use self::kernel32::{GetStdHandle, GetConsoleMode, SetConsoleMode};13use self::winapi::{STD_OUTPUT_HANDLE, INVALID_HANDLE_VALUE};1415const ENABLE_VIRTUAL_TERMINAL_PROCESSING: u32 = 0x0004;1617// https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#example
22 unmodified lines