Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/user-guide/terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,15 @@ It's very simple to clear a PyTerminal:
</script>
```

### Resize the terminal

The terminal takes up a fair amount of room onscreen. It can be resized to use less.
Here it is 10 lines high.
```python title="Resizing the terminal in python"
if '__terminal__' in locals(): # has a terminal been created
__terminal__.resize(60, 10) # (width, height)
```

### Terminal colors

Colors and most special characters work so you can make the text **bold** or
Expand Down