File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3928,6 +3928,7 @@ pub const CONSOLE_SCREEN_BUFFER_INFO = extern struct {
39283928};
39293929
39303930pub const ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x4 ;
3931+ pub const DISABLE_NEWLINE_AUTO_RETURN = 0x8 ;
39313932
39323933pub const FOREGROUND_BLUE = 1 ;
39333934pub const FOREGROUND_GREEN = 2 ;
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ pub extern "kernel32" fn GetCommandLineA() callconv(WINAPI) LPSTR;
165165pub extern "kernel32" fn GetCommandLineW () callconv (WINAPI ) LPWSTR ;
166166
167167pub extern "kernel32" fn GetConsoleMode (in_hConsoleHandle : HANDLE , out_lpMode : * DWORD ) callconv (WINAPI ) BOOL ;
168+ pub extern "kernel32" fn SetConsoleMode (in_hConsoleHandle : HANDLE , in_dwMode : DWORD ) callconv (WINAPI ) BOOL ;
168169
169170pub extern "kernel32" fn GetConsoleOutputCP () callconv (WINAPI ) UINT ;
170171
You can’t perform that action at this time.
0 commit comments