static waitq_t lx_reader;
static volatile char ttychr;
-static pid_t fg_pgid = 0;
+static volatile pid_t fg_pgid = 0;
-inline void
+static inline void
print_control_code(const char cntrl)
{
console_write_char('^');
console->wnd_start = rd_ptr;
fbuf->flags |= FIFO_DIRTY;
mutex_unlock(&fbuf->lock);
+
+ if (!lx_console.flush_timer) {
+ console_flush();
+ }
}
void