Add documentation for terminal