![]() |
Max OS 0.3
|
A stream that can be used to write to a console. More...
#include <console.h>
Public Member Functions | |
| ConsoleStream (Console *) | |
| Construct a new Console Stream object. | |
| void | write_char (char c) override |
| write a character to the console stream | |
| void | set_cursor (uint16_t x, uint16_t y) |
| Set the m_position of the cursor. | |
|
explicit |
Construct a new Console Stream object.
| console | The console to create the stream on |
Definition at line 423 of file console.cpp.
| void ConsoleStream::set_cursor | ( | uint16_t | x, |
| uint16_t | y | ||
| ) |
Set the m_position of the cursor.
| x | The x coordinate of the cursor |
| y | The y coordinate of the cursor |
Definition at line 509 of file console.cpp.
Referenced by MaxOS::console::FramebufferConsole::finish().
|
override |
write a character to the console stream
| c | The character to write |
Definition at line 435 of file console.cpp.
References MaxOS::console::Console::height(), MaxOS::console::Console::put_character(), MaxOS::console::Console::scroll_up(), MaxOS::console::Console::width(), and write_char().
Referenced by write_char().