[enh] getTerminalSize added