Skip to content

Commit

Permalink
Fixing console problem
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrlvi committed Apr 20, 2022
1 parent e560013 commit c770e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type Hash = Uint256;

#[cfg(target_os = "windows")]
fn adjust_console() -> Result<(), Error> {
let console = win32console::console::WinConsole::output();
let console = win32console::console::WinConsole::input();
let mut mode = console.get_mode()?;
mode = (mode & !win32console::console::ConsoleMode::ENABLE_QUICK_EDIT_MODE)
| win32console::console::ConsoleMode::ENABLE_EXTENDED_FLAGS;
Expand Down

0 comments on commit c770e27

Please sign in to comment.