Skip to content

Commit bbc2143

Browse files
committed
docs(README): move inline comments out of code blocks
1 parent 4082552 commit bbc2143

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ Pre-releases (alpha / beta / rc):
5050
pip install --upgrade --pre libtmux
5151
```
5252

53-
With pipx:
53+
With pipx (installs as `libtmux@next`):
5454

5555
```bash
5656
pipx install --suffix=@next "libtmux" --pip-args "\--pre" --force
57-
# usage: libtmux@next [command]
5857
```
5958

6059
With uv / uvx:
@@ -72,13 +71,15 @@ pip install -e 'git+https://github.com/tmux-python/libtmux.git#egg=libtmux'
7271

7372
Tip: libtmux is pre-1.0. Pin a range in projects to avoid surprises:
7473

74+
requirements.txt:
75+
7576
```ini
76-
# requirements.txt
7777
libtmux==0.49.*
7878
```
7979

80+
pyproject.toml:
81+
8082
```toml
81-
# pyproject.toml
8283
libtmux = "0.49.*"
8384
```
8485

@@ -90,13 +91,8 @@ Create and drive a tmux session entirely from Python.
9091
import libtmux
9192
import time
9293

93-
# Connect to the server (starts one if not running)
9494
server = libtmux.Server()
95-
96-
# Use a unique name to avoid conflicts if you run this multiple times
9795
session_name = f"libtmux-demo-{int(time.time())}"
98-
99-
# Create the session and the initial window
10096
session = server.new_session(session_name=session_name, window_name="workspace")
10197

10298
window = session.active_window

0 commit comments

Comments
 (0)