|
2 | 2 | ^^^^^^ |
3 | 3 |
|
4 | 4 | :py:class:`~curtsies.FmtStr` is a string with each character colored |
5 | | -and styled in ways representable by `ANSI escape codes <http://en.wikipedia.org/wiki/ANSI_escape_code>`_. |
| 5 | +and styled in ways representable by `ANSI escape codes <https://en.wikipedia.org/wiki/ANSI_escape_code>`_. |
6 | 6 |
|
7 | 7 | .. automodule:: curtsies.formatstring |
8 | 8 |
|
@@ -64,14 +64,14 @@ invert ``invert()`` |
64 | 64 | FmtStr - Rationale |
65 | 65 | ================== |
66 | 66 |
|
67 | | -If all you need is to print colored text, many other libraries also make `ANSI escape codes <http://en.wikipedia.org/wiki/ANSI_escape_code>`_ easy to use. |
| 67 | +If all you need is to print colored text, many other libraries also make `ANSI escape codes <https://en.wikipedia.org/wiki/ANSI_escape_code>`_ easy to use. |
68 | 68 |
|
69 | 69 | * `Blessed <https://github.com/jquast/blessed>`_ (``pip install blessed``) |
70 | 70 | As of version 0.1.0, Curtsies uses Blessed for terminal capabilities other |
71 | 71 | than colored output. |
72 | | -* `termcolor <https://pypi.python.org/pypi/termcolor>`_ (``pip install termcolor``) |
| 72 | +* `termcolor <https://pypi.org/project/termcolor/>`_ (``pip install termcolor``) |
73 | 73 | * `Clint <https://github.com/kennethreitz/clint/blob/master/clint/textui/colored.py>`_ (``pip install clint``) |
74 | | -* `colors <https://github.com/verigak/colors/>`_ (``pip install colors``) |
| 74 | +* `colors <https://github.com/verigak/colors>`_ (``pip install colors``) |
75 | 75 |
|
76 | 76 | In all of the libraries listed above, the expression ``blue('hi') + ' ' + green('there)`` |
77 | 77 | or equivalent |
@@ -218,7 +218,7 @@ To access this information, :py:class:`~curtsies.FmtStr` objects have a :py:clas |
218 | 218 | >>> len(combined), combined.width, combined.s |
219 | 219 | (2, 1, u'a\u0324') |
220 | 220 |
|
221 | | -As shown above, `full width characters <http://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms>`_ can take up two columns, and `combining characters <http://en.wikipedia.org/wiki/Combining_character>`_ may be combined with the previous character to form a single grapheme. Curtsies uses `Python bindings of wcwidth <https://github.com/sebastinas/cwcwidth>`_ to do this calculation. |
| 221 | +As shown above, `full width characters <https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms>`_ can take up two columns, and `combining characters <https://en.wikipedia.org/wiki/Combining_character>`_ may be combined with the previous character to form a single grapheme. Curtsies uses `Python bindings of wcwidth <https://github.com/sebastinas/cwcwidth>`_ to do this calculation. |
222 | 222 |
|
223 | 223 | FmtStr - API Docs |
224 | 224 | ================= |
|
0 commit comments