Skip to content

Commit

Permalink
fix stdout handle
Browse files Browse the repository at this point in the history
  • Loading branch information
hero622 committed May 13, 2024
1 parent 1daf024 commit e6aeb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const enableVirtualTerminalProcessing = () => {
}
});

const STD_OUTPUT_HANDLE = 4294967295 - 11;
const STD_OUTPUT_HANDLE = 4294967285;
const ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004;

const handle = kernel32.symbols.GetStdHandle(STD_OUTPUT_HANDLE);
Expand Down

0 comments on commit e6aeb73

Please sign in to comment.