diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-12-19 11:46:46 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-12-19 11:46:46 +0100 |
| commit | de96b0588ab680e1002c12df7ea7900d7eb71cf8 (patch) | |
| tree | 41728f4f5c77a4d96dc3d89096483dfee75b3482 /arch/x86_64/include | |
| parent | 266dde7d535d997a45f6eef41e44ebcaa516b75a (diff) | |
| download | teachos-de96b0588ab680e1002c12df7ea7900d7eb71cf8.tar.xz teachos-de96b0588ab680e1002c12df7ea7900d7eb71cf8.zip | |
kstd: move println to kstd
Diffstat (limited to 'arch/x86_64/include')
| -rw-r--r-- | arch/x86_64/include/x86_64/vga/text.hpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/x86_64/include/x86_64/vga/text.hpp b/arch/x86_64/include/x86_64/vga/text.hpp index 9f80f94..fcda67f 100644 --- a/arch/x86_64/include/x86_64/vga/text.hpp +++ b/arch/x86_64/include/x86_64/vga/text.hpp @@ -121,25 +121,7 @@ namespace teachos::vga::x86_64::text */ auto cursor(bool enabled) -> void; - auto write(std::string_view text) -> void override - { - write(text, common_attributes::green_on_black); - } - - auto writeln(std::string_view text) -> void override - { - writeln(text, common_attributes::green_on_black); - } - - auto write_error(std::string_view text) -> void override - { - write(text, common_attributes::red_on_black); - } - - auto writeln_error(std::string_view text) -> void override - { - writeln(text, common_attributes::red_on_black); - } + auto write(cio::output_stream stream, std::string_view text) -> void override; private: using glyph = std::pair<char, std::byte>; |
