summaryrefslogtreecommitdiff
path: root/blessed/formatters.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2014-03-23 18:10:40 -0700
committerjquast <contact@jeffquast.com>2014-03-23 18:10:40 -0700
commit90876b1d524c04969051d425860a705262954c33 (patch)
tree9b9cd11a310843252aebf645b3ee91c60b94c95f /blessed/formatters.py
parenta4b83a6b149cb90ddd4e08195c187561c0b83748 (diff)
downloadblessings-90876b1d524c04969051d425860a705262954c33.tar.gz
docfixes
Diffstat (limited to 'blessed/formatters.py')
-rw-r--r--blessed/formatters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/blessed/formatters.py b/blessed/formatters.py
index 620450c..a7bd021 100644
--- a/blessed/formatters.py
+++ b/blessed/formatters.py
@@ -54,6 +54,7 @@ class ParameterizingString(unicode):
class FormattingString(unicode):
"""A Unicode string which can be called using ``text``, returning a
new string, ``attr`` + ``text`` + ``normal``::
+
style = FormattingString(term.bright_blue, term.normal)
style('Big Blue')
'\x1b[94mBig Blue\x1b(B\x1b[m'