Skip to content

Commit 94b0774

Browse files
committed
update README
1 parent b003b26 commit 94b0774

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.rst

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,24 @@ install
2121
.. code-block:: sh
2222
2323
$ [sudo] pip install libtmux
24+
25+
open a tmux session
26+
-------------------
27+
28+
.. code-block:: sh
29+
2430
$ tmux new-session -n libtmux_wins -s a_libtmux_session
2531
26-
import and get the server object
27-
--------------------------------
32+
pilot your tmux session via python
33+
----------------------------------
34+
35+
.. code-block:: sh
36+
37+
$ python
38+
39+
# or for nice autocomplete and syntax highlighting
40+
$ pip install ptpython
41+
$ ptpython
2842
2943
.. code-block:: python
3044

0 commit comments

Comments
 (0)