diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-18 22:54:14 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-18 23:11:48 -0400 |
commit | ed31f8283ca62f550da28456bc190250d6495815 (patch) | |
tree | e242beb746cb87eaffaf382a2b013f9a20b5568b /sys/kern/kern_syslog.c | |
parent | a39658738ca07b4fa277a5e2de2c54ac731ee612 (diff) |
kernel: tty: Handle input processing better
- Fix copying logic in tty_read()
- Handle ICANON correctly
- Add ECHO c_lflag bit
- Add TTY_SOURCE_DEV and TTY_SOURCE_RAW defines
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_syslog.c')
-rw-r--r-- | sys/kern/kern_syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_syslog.c b/sys/kern/kern_syslog.c index 3ff4e8c..88ae8bc 100644 --- a/sys/kern/kern_syslog.c +++ b/sys/kern/kern_syslog.c @@ -45,7 +45,7 @@ syslog_write(const char *s, size_t len) #if defined(__SERIAL_DEBUG) serial_dbgch(*tmp_s); #endif /* defined(__SERIAL_DEBUG) */ - tty_putc(&g_root_tty, *tmp_s++); + tty_putc(&g_root_tty, *tmp_s++, TTY_SOURCE_RAW); } tty_flush(&g_root_tty); |