diff options
Diffstat (limited to 'kapi/src/cio.cpp')
| -rw-r--r-- | kapi/src/cio.cpp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/kapi/src/cio.cpp b/kapi/src/cio.cpp index aa26d49..e8490e9 100644 --- a/kapi/src/cio.cpp +++ b/kapi/src/cio.cpp @@ -18,12 +18,24 @@ namespace teachos::cio return std::exchange(active_device, &device); } - auto print(std::string_view text) -> void { active_device->write(text); } + auto print(std::string_view text) -> void + { + active_device->write(text); + } - auto println(std::string_view text) -> void { active_device->writeln(text); } + auto println(std::string_view text) -> void + { + active_device->writeln(text); + } - auto print_error(std::string_view text) -> void { active_device->write_error(text); } + auto print_error(std::string_view text) -> void + { + active_device->write_error(text); + } - auto println_error(std::string_view text) -> void { active_device->writeln_error(text); } + auto println_error(std::string_view text) -> void + { + active_device->writeln_error(text); + } } // namespace teachos::cio
\ No newline at end of file |
