Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

win: flush output buffer before doing a console reset

  • Loading branch information...
piscisaureus committed Oct 22, 2011
1 parent 2dd0282 commit 45882e0bdc778aef0cfa431b940c293a01ec731f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/win/tty.c
@@ -1334,6 +1334,7 @@ static int uv_tty_write_bufs(uv_tty_t* handle, uv_buf_t bufs[], int bufcnt,

case 'c':
/* Full console reset. */
FLUSH_TEXT();
uv_tty_reset(handle, error);
ansi_parser_state = ANSI_NORMAL;
continue;

0 comments on commit 45882e0

Please sign in to comment.
You can’t perform that action at this time.