1

cleanup cgastream

This commit is contained in:
2022-07-24 00:16:35 +02:00
parent 1f62ba8635
commit 26912fa041

View File

@ -24,7 +24,12 @@
* verwendet werden, um eine Ausgabe zu erzwingen. *
*****************************************************************************/
void CGA_Stream::flush() {
print(&buffer, pos, attribute(color_bg, color_fg, blink));
print(&buffer, pos, attribute(color_bg, color_fg, blink)); // print(buffer...) would work syntactically
// but the system wouldn't start, as the bse::array
// would be implicitly converted to bse::string and
// that is dynamically allocated.
// print(&buffer...) just uses the stack location of
// the internal buffer of bse::array
// Flushing resets attributes
blink = false;