1

change coroutdemo print position

This commit is contained in:
churl
2022-05-23 12:20:43 +02:00
parent cc35dda947
commit f6980edb3c

View File

@ -25,7 +25,7 @@ void CoroutineLoop::run() {
int i = 0;
while (true) {
kout.setpos(0, 21 + this->id);
kout.setpos(50, this->id);
kout << "Corout[" << this->id << "]: " << i++ << endl;
this->switchToNext();