Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
win: flush output buffer before doing a console reset
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Oct 22, 2011
1 parent 2dd0282 commit 45882e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/tty.c
Expand Up @@ -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;
Expand Down

0 comments on commit 45882e0

Please sign in to comment.