Calculator app (#1474)

* implemented calculator app

* improved output

* refactoring
This commit is contained in:
Bernd Herzog 2023-10-08 16:24:02 +02:00 committed by GitHub
parent 1185b67b28
commit 5a850984b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 2520 additions and 6 deletions

View file

@ -626,6 +626,8 @@ void Console::write(std::string message) {
} else {
if (c == '\n') {
crlf();
} else if (c == '\r') {
pos = {0, pos.y()};
} else if (c == '\x1B') {
escape = true;
} else {