Using CHANNEL_PRINTS to transfer printbuffers to stdout is now working.

This commit is contained in:
2025-12-15 23:35:47 -05:00
parent 9dc974ebca
commit 1b7f917cdf
8 changed files with 52 additions and 17 deletions

View File

@@ -149,6 +149,9 @@ public:
// Reset the print channeler.
void reset() { line_ = 0; }
// Check if there's anything to channel.
bool have_prints(const PrintBuffer *pb) const;
// Copy any new lines from the printbuffer to the stream buffer.
// Update the current line number. Return true if the printbuffer
// contains any lines that have already been channeled.