mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
parent
956e68be59
commit
ac125d3e1f
4 changed files with 49 additions and 60 deletions
|
@ -59,7 +59,7 @@ static textwindows ssize_t sys_write_nt_impl(int fd, void *data, size_t size,
|
|||
}
|
||||
|
||||
// intercept ansi tty configuration sequences
|
||||
if (isconsole && _weaken(InterceptTerminalCommands)) {
|
||||
if (isconsole && _weaken(GetConsoleOutputHandle)) {
|
||||
_weaken(InterceptTerminalCommands)(data, size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue