Skip to content

Commit 486f954

Browse files
Tenzersebastinas
authored andcommitted
Bring all links up-to-date to avoid redirects
1 parent 24ed4bb commit 486f954

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

docs/FmtStr.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FmtStr
22
^^^^^^
33

44
: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>`_.
66

77
.. automodule:: curtsies.formatstring
88

@@ -64,14 +64,14 @@ invert ``invert()``
6464
FmtStr - Rationale
6565
==================
6666

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.
6868

6969
* `Blessed <https://github.com/jquast/blessed>`_ (``pip install blessed``)
7070
As of version 0.1.0, Curtsies uses Blessed for terminal capabilities other
7171
than colored output.
72-
* `termcolor <https://pypi.python.org/pypi/termcolor>`_ (``pip install termcolor``)
72+
* `termcolor <https://pypi.org/project/termcolor/>`_ (``pip install termcolor``)
7373
* `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``)
7575

7676
In all of the libraries listed above, the expression ``blue('hi') + ' ' + green('there)``
7777
or equivalent
@@ -218,7 +218,7 @@ To access this information, :py:class:`~curtsies.FmtStr` objects have a :py:clas
218218
>>> len(combined), combined.width, combined.s
219219
(2, 1, u'a\u0324')
220220

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.
222222

223223
FmtStr - API Docs
224224
=================

docs/about.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ About
44
Resources
55
=========
66

7-
I've written a little bit about Curtsies on `my blog <http://ballingt.com/2014/05/13/bpython-curtsies-release.html>`_.
7+
I've written a little bit about Curtsies on `my blog <https://ballingt.com/bpython-curtsies-release/>`_.
88

99
The source and issue tracker for Curtsies are on `Github <https://github.com/bpython/curtsies>`_.
1010

@@ -13,8 +13,8 @@ A good place to ask questions about Curtsies is `#bpython on irc.freenode.net <h
1313
Authors
1414
=======
1515

16-
Curtsies was written by `Thomas Ballinger <http://ballingt.com>`_ to create
17-
a frontend for `bpython <http://bpython-interpreter.org/>`_ that preserved terminal history.
16+
Curtsies was written by `Thomas Ballinger <https://ballingt.com/>`_ to create
17+
a frontend for `bpython <https://bpython-interpreter.org/>`_ that preserved terminal history.
1818

1919
Thanks so much to the many people that have contributed to it!
2020

docs/examples.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Examples
22
^^^^^^^^
33

4-
* `Tic-Tac-Toe <https://github.com/bpython/curtsies/blob/master/examples/tictactoeexample.py>`_
4+
* `Tic-Tac-Toe <https://github.com/bpython/curtsies/blob/main/examples/tictactoeexample.py>`_
55

66
.. image:: http://i.imgur.com/AucB55B.png
77

8-
* `Avoid the X's game <https://github.com/bpython/curtsies/blob/master/examples/gameexample.py>`_
8+
* `Avoid the X's game <https://github.com/bpython/curtsies/blob/main/examples/gameexample.py>`_
99

1010
.. image:: http://i.imgur.com/nv1RQd3.png
1111

12-
* `Bpython-curtsies uses curtsies <http://ballingt.com/2013/12/21/bpython-curtsies.html>`_
12+
* `Bpython-curtsies uses curtsies <https://ballingt.com/bpython-curtsies/>`_
1313

1414
.. image:: http://i.imgur.com/r7rZiBS.png
15-
:target: http://www.youtube.com/watch?v=lwbpC4IJlyA
15+
:target: https://www.youtube.com/watch?v=lwbpC4IJlyA

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Curtsies documentation
88
Curtsies is a Python 2.6+ & 3.3+ compatible library for interacting with the terminal.
99

1010
:py:class:`~curtsies.FmtStr` objects are strings formatted with
11-
colors and styles displayable in a terminal with `ANSI escape sequences <http://en.wikipedia.org/wiki/ANSI_escape_code>`_.
11+
colors and styles displayable in a terminal with `ANSI escape sequences <https://en.wikipedia.org/wiki/ANSI_escape_code>`_.
1212
:py:class:`~curtsies.FSArray` objects contain multiple such strings
1313
with each formatted string on its own row, and
1414
can be superimposed onto each other

docs/window.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A window owns its output stream - it is assumed (but not enforced) that no addit
1010
an assumption which allows for example portions of the screen which do not change between renderings not to be redrawn during a rendering.
1111

1212
There are two useful window classes, both subclasses of :py:class:`~curtsies.window.BaseWindow`. :py:class:`~curtsies.FullscreenWindow`
13-
renders to the terminal's `alternate screen buffer <http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#The%20Alternate%20Screen%20Buffer>`_
13+
renders to the terminal's `alternate screen buffer <https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#The%20Alternate%20Screen%20Buffer>`_
1414
(no history preserved, like command line tools ``Vim`` and ``top``)
1515
while :py:class:`~curtsies.CursorAwareWindow` renders to the normal screen.
1616
It is also is capable of querying the terminal for the cursor location,

0 commit comments

Comments
 (0)