From f6980edb3cdddaced06eec80af34a385bb439957 Mon Sep 17 00:00:00 2001 From: churl Date: Mon, 23 May 2022 12:20:43 +0200 Subject: [PATCH] change coroutdemo print position --- c_os/user/CoroutineLoop.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_os/user/CoroutineLoop.cc b/c_os/user/CoroutineLoop.cc index 8318dac..58d4972 100755 --- a/c_os/user/CoroutineLoop.cc +++ b/c_os/user/CoroutineLoop.cc @@ -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();