From 98a84f05bc0cf1e48588ae0cba112b5ad26eddb0 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 3 Apr 2018 10:27:46 +0100 Subject: [PATCH] update known issues (newline/linefeed/unicode) - closes #454 - TODO: might want to autodetect semi-unicode support and fallback to ascii? --- README.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index bac9824de..dc5b71436 100644 --- a/README.rst +++ b/README.rst @@ -222,11 +222,20 @@ of a neat one-line progress bar. `IDLE `__, `ConEmu `__ and `PyCharm `__ (also - `here `__ and - `here `__) + `here `__, + `here `__, and + `here `__) lack full support. * Windows: additionally may require the Python module ``colorama`` to ensure nested bars stay within their respective lines. +- Unicode: + * Environments which report that they support unicode will have solid smooth + progressbars. The fallback is an `ascii`-only bar. + * Windows consoles often only partially support unicode and thus + `often require explicit ascii=True `__ + (also `here `__). This is due to + either normal-width unicode characters being incorrectly displayed as + "wide", or some unicode characters not rendering. - Wrapping enumerated iterables: use ``enumerate(tqdm(...))`` instead of ``tqdm(enumerate(...))``. The same applies to ``numpy.ndenumerate``. This is because enumerate functions tend to hide the length of iterables.