Better support for windows terminals