From 00fb67894f8479a333332caa7e6a8d1fe6d76138 Mon Sep 17 00:00:00 2001 From: mpohoreski Date: Mon, 26 Oct 2009 01:19:24 +0000 Subject: [PATCH] added Flush() --- AppleWin/source/Debugger_Console.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AppleWin/source/Debugger_Console.cpp b/AppleWin/source/Debugger_Console.cpp index c29f44d4..c6708fc7 100644 --- a/AppleWin/source/Debugger_Console.cpp +++ b/AppleWin/source/Debugger_Console.cpp @@ -605,6 +605,7 @@ Update_t ConsoleBufferTryUnpause (int nLines) return UPDATE_CONSOLE_DISPLAY; } +// Flush the console //=========================================================================== Update_t ConsoleUpdate () { @@ -616,3 +617,10 @@ Update_t ConsoleUpdate () return UPDATE_CONSOLE_DISPLAY; } + +//=========================================================================== +void ConsoleFlush () +{ + int nLines = g_nConsoleBuffer; + ConsoleBufferTryUnpause( nLines ); +}