console: don't null terminate reads anymore, as that is the entire purpose of returning a size (and it breaks everything)
TUI: null-terminate result from reading from a psuedo-terminal.