Skip to content

Commit 1d94cf4

Browse files
committed
docs(README): Fix doctest
1 parent 87a523c commit 1d94cf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ Session($1 foo)
9292
Control your session:
9393

9494
```python
95-
# Assign session to `session`:
95+
>>> server.sessions[0].rename_session('foo')
96+
Session($1 foo)
9697
>>> session = server.find_where({ "session_name": "foo" })
98+
Session($1 foo)
9799
>>> session.new_window(attach=False, window_name="ha in the bg")
98100
Window(@8 2:ha in the bg, Session($3 foo))
99101
>>> session.kill_window("ha in")

0 commit comments

Comments
 (0)