fix Patroller.char on none Windows