better docs

This commit is contained in:
Will McGugan 2020-06-27 22:18:30 +01:00
parent ab178c2acc
commit cfeb34743c
1 changed files with 1 additions and 2 deletions

View File

@ -3,13 +3,12 @@
Box
===
Rich defines a number of ways of drawing boxes and lines such as those used in tables. To select a box style import one of the constants below from rich.box. For example::
Rich has a number of constants that set the box characters used to draw tables and panels. To select a box style import one of the constants below from ``rich.box``. For example::
from rich import box
table = Table(box=box.SQUARE)
.. note::
Some of the box drawing characters will not display correctly on Windows legacy terminal (cmd.exe) with *raster* fonts, and are disabled by default. If you want the full range of box options on Windows legacy terminal, use a *truetype* font and set the ``safe_box`` parameter on the Table class to ``False``.