Skip to content

Commit

Permalink
Update formatting for interactive sessions in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dmwyatt authored May 10, 2024
1 parent 9478489 commit ba73638
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ Install
Basic Usage
-----------

>>> from systa.windows import current_windows
>>> "Untitled - Notepad" in current_windows
True
>>> "🍔" in current_windows
False
>>> notepad = current_windows["Untitled - Notepad"][0]
>>> notepad.maximized
False
>>> notepad.maximized = True # it's now maximized
>>> notepad.maximized
True
.. code-block:: python
>>> from systa.windows import current_windows
>>> "Untitled - Notepad" in current_windows
True
>>> "🍔" in current_windows
False
>>> notepad = current_windows["Untitled - Notepad"][0]
>>> notepad.maximized
False
>>> notepad.maximized = True # it's now maximized
>>> notepad.maximized
True
Events
------
Expand Down

0 comments on commit ba73638

Please sign in to comment.