console: pull most up-to-date flags from slave before doing line discipline
TUI: use a psuedo-terminal instead of calling Syscall::createConsole