Add pty based Terminal implementation
Enable rec command