From 3ba5683c1a3d9645549df0f54cb8fc7922db0f7b Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Wed, 9 Dec 2015 17:22:19 -0500 Subject: [PATCH] Windows bug on simple write --- terminal.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.d b/terminal.d index 6ff8b61..9ffa9f6 100644 --- a/terminal.d +++ b/terminal.d @@ -746,8 +746,8 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/ms683193%28v=vs.85%29.as version(Windows) ~this() { + flush(); // make sure user data is all flushed before resetting reset(); - flush(); showCursor(); if(lineGetter !is null)