We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f27f9 commit 55d93b0Copy full SHA for 55d93b0
README.md
@@ -157,19 +157,18 @@ Grab the output of pane:
157
```python
158
>>> pane.clear() # clear the pane
159
>>> pane.send_keys("cowsay 'hello'", enter=True)
160
->>> import time; time.sleep(1)
161
->>> print('\n'.join(pane.cmd('capture-pane', '-p').stdout))
162
-```
163
-
164
- sh-3.2$ cowsay 'hello'
165
- _______
166
- < hello >
167
- -------
168
- \ ^__^
169
- \ (oo)\_______
170
- (__)\ )\/\
171
- ||----w |
172
- || ||
+>>> print('\n'.join(pane.cmd('capture-pane', '-p').stdout)) # doctest: +SKIP
+$ cowsay 'hello'
+ _______
+< hello >
+ -------
+ \ ^__^
+ \ (oo)\_______
+ (__)\ )\/\
+ ||----w |
+ || ||
+...
+```
173
174
Traverse and navigate:
175
0 commit comments