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 {
3928
3928
};
3929
3929
3930
3930
pub const ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x4 ;
3931
+ pub const DISABLE_NEWLINE_AUTO_RETURN = 0x8 ;
3931
3932
3932
3933
pub const FOREGROUND_BLUE = 1 ;
3933
3934
pub 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;
165
165
pub extern "kernel32" fn GetCommandLineW () callconv (WINAPI ) LPWSTR ;
166
166
167
167
pub 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 ;
168
169
169
170
pub extern "kernel32" fn GetConsoleOutputCP () callconv (WINAPI ) UINT ;
170
171
You can’t perform that action at this time.
0 commit comments