We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7ba95 commit 2f7184fCopy full SHA for 2f7184f
src/windows_term/mod.rs
@@ -78,6 +78,7 @@ pub(crate) fn is_a_color_terminal(out: &Term) -> bool {
78
enable_ansi_on(out)
79
}
80
81
+/// Enables or disables the `mode` flag on the given `HANDLE` and yields the previous mode.
82
fn set_console_mode(handle: HANDLE, mode: CONSOLE_MODE, enable: bool) -> Option<CONSOLE_MODE> {
83
unsafe {
84
let mut dw_mode = 0;
0 commit comments