summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorErik Rose <grinch@grinchcentral.com>2012-06-16 16:58:05 -0700
committerErik Rose <grinch@grinchcentral.com>2012-06-16 16:58:05 -0700
commitcc42aad389c4022c5b7a1cfd72c4173d1ee23e62 (patch)
tree2a82e14bc74673fb0a4fe346651860506d3135b3 /README.rst
parentd04c99970194449ca2db0592243f7ea189f5a098 (diff)
downloadblessings-cc42aad389c4022c5b7a1cfd72c4173d1ee23e62.tar.gz
Provide a decent way to say "don't style". Closes #18.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index c24032b..c29d0e8 100644
--- a/README.rst
+++ b/README.rst
@@ -343,7 +343,7 @@ into this behavior, but Blessings makes it optional. If you want to do the
state-restoration thing, use these capabilities:
``enter_fullscreen``
- Switch to the terminal mode where full-screen output is sanctioned. Call
+ Switch to the terminal mode where full-screen output is sanctioned. Print
this before you do any output.
``exit_fullscreen``
Switch back to normal mode, restoring the exact state from before
@@ -361,7 +361,7 @@ There's also a context manager you can use as a shortcut::
# Print some stuff.
Besides brevity, another advantage is that it switches back to normal mode even
-if an exception is raised in the with block.
+if an exception is raised in the ``with`` block.
Pipe Savvy
----------
@@ -434,6 +434,8 @@ Version History
* Add syntactic sugar and documentation for ``enter_fullscreen`` and
``exit_fullscreen``.
* Add context managers ``fullscreen()`` and ``hidden_cursor()``.
+ * Now you can force a ``Terminal`` never to emit styles by passing
+ ``force_styling=None``.
1.4
* Add syntactic sugar for cursor visibility control and single-space-movement