console: fix a couple of TextIO VT52 compatibility mode issues