aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/x86_64/vga/text.hpp20
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>;