* Update docstring for `Text.wrap`s width parameter to indicate that it's referring to the number of *single-width* characters.
Also a small addition to the gitignore file.
* Working on double width wrapping fixes
* Chop cells to fit to width
* Fix folding when theres already text on line
* Update wrapping logic to fix issues with CJK charcters disappearing when the "fold" location sat *within* a double-width character. Ensure we retain browser logic of: if there is no space on the current line, move to a new line, and if theres not enough space on the entire new line, fold the text over multiple lines at appropriate locations.
* Remove old TODO comments
* Add regression test note
* Rename function to avoid breaking change
* Update CHANGELOG
* Remove old comment that is no longer relevant
* Cover off some wrapping edge cases
* Adding docstrings to tests explaining their purpose
* Renaming a local, function scope function alias
* Update rich/_wrap.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* PR feedback
* Testing wrapping with trailing and leading whitespace
* Improve docstring wording
---------
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* chore: upgrade all pre-commit hooks to latest version
* chore: add trailing-whitespace pre-commit hook
* refactor: Avoid trailing whitespace in box definitions
* docs: Add Robin Bowes as a contributor
---------
Co-authored-by: Robin Bowes <robin.bowes@yo61.com>
* fix: minor black formatting
* style: update CONTRIBUTORS.md
* fix: more black formatting
Default black with no arguments provided
---------
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
* Fix#3104
* Fixing tests to account for new inline styles in HTML export
* Update changelog
* Add Aaron Beaudoin to contributors file.
---------
Co-authored-by: Darren Burns <darrenb900@gmail.com>
I fixed a minor typo in the Portuguese version of the README file. The word "Markdowm" should be "Markdown". This improves the clarity of the document. I am searching for another typo, but i can't find other typo, this is good 😃.
I have a issue asking for fix the typo [here](https://github.com/Textualize/rich/issues/3172).