From 81b7d806028bd484e2765cbc57b9677544bf52b2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 28 Jan 2010 20:13:42 +0000 Subject: Hmmm, the newline wasn't causing a flush, that's just silly, I should know better. --- src/formatter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/formatter.cpp') diff --git a/src/formatter.cpp b/src/formatter.cpp index 2e3aee2..ef0f728 100644 --- a/src/formatter.cpp +++ b/src/formatter.cpp @@ -243,6 +243,7 @@ Bu::Formatter &Bu::operator<<( Bu::Formatter &f, Bu::Formatter::Special s ) char ci = f.getIndentChar(); for( int j = 0; j < f.getIndent(); j++ ) f.write( &ci, 1 ); + f.doFlush(); } break; -- cgit v1.2.3