sleep; appl + kappl do smth more or less usefull

This commit is contained in:
2025-12-03 05:37:50 +01:00
parent 63f56ae02c
commit 246a5bc3e6
7 changed files with 44 additions and 44 deletions

View File

@@ -11,8 +11,10 @@ extern Semaphore koutsem;
void KeyboardApplication::action() { // NOLINT
while(1){
char msg[11];
if(read(0, msg, 10))
write(0, msg, 10);
int len;
len = read(0, msg, 10);
if(len)
write(0, msg, len);
}
//const unsigned line = 10 + 2;