We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a568e5 + 7d04b26 commit e52c350Copy full SHA for e52c350
docs/user-guide/terminal.md
@@ -111,6 +111,15 @@ It's very simple to clear a PyTerminal:
111
</script>
112
```
113
114
+### Resize the terminal
115
+
116
+The terminal takes up a fair amount of room onscreen. It can be resized to use less.
117
+Here it is 10 lines high.
118
+```python title="Resizing the terminal in python"
119
+if '__terminal__' in locals(): # has a terminal been created
120
+ __terminal__.resize(60, 10) # (width, height)
121
+```
122
123
### Terminal colors
124
125
Colors and most special characters work so you can make the text **bold** or
0 commit comments