nearly fixed TerminalWidget