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 f014199 commit ed4aaa9Copy full SHA for ed4aaa9
libtmux/pane.py
@@ -241,6 +241,18 @@ def enter(self):
241
"""
242
self.cmd('send-keys', 'Enter')
243
244
+ def capture_pane(self):
245
+ """
246
+ Capture text from pane.
247
+
248
+ ``$ tmux capture-pane`` to pane.
249
250
+ Returns
251
+ -------
252
+ :class:`list`
253
254
+ return self.cmd('capture-pane', '-p').stdout
255
256
def select_pane(self):
257
258
Select pane. Return ``self``.
0 commit comments