duplicate_handle 563 compat/winansi.c hconsole1 = swap_osfhnd(1, duplicate_handle(hwrite)); duplicate_handle 565 compat/winansi.c hconsole2 = swap_osfhnd(2, duplicate_handle(hwrite));