tb running cmds in interactive mode

This commit is contained in:
2025-09-18 00:57:24 +02:00
parent b3894f1600
commit e5e707eb54
6 changed files with 23 additions and 8 deletions

View File

@ -8,6 +8,7 @@
#include <string/char.h>
#include <util/util.h>
#include <dlmalloc/malloc.h>
#include <errors.h>
#define SUBPROC_PIPE_OUT 0x1f
@ -45,9 +46,6 @@ void main(void) {
if (c != 0) {
ipcpipe(tb, IPCPIPE_IN, IPCPIPE_WRITE, &c, 1);
}
if (string_chr_isprint(c)) {
uprintf("%c", c);
}
}
}
}