The rule line goes to the second line when the parameter is Chinese or Japanese
See original GitHub issueMy code:
from rich.console import Console
Console().rule("欢迎!")
Result:
I tried Japanese as well, and encountered the same problem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Line breaking rules in East Asian languages - Wikipedia
The line breaking rules in East Asian languages specify how to wrap East Asian Language text such as Chinese, Japanese, and Korean.
Read more >Approaches to line breaking - W3C
Vertically-set Chinese, Japanese, Korean, and Traditional Mongolian wrap words upwards, but the new line appears to the left for CJK, and right ...
Read more >38th parallel | Definition, History, & Significance - Britannica
38th parallel ; demarcates ; North Korea and ; South Korea. The line was chosen by ; World War II as an army...
Read more >word-break - CSS-Tricks
The word-break property in CSS can be used to change when line breaks ... can break onto the next line. keep-all : for...
Read more >Improving MACD Technical Analysis by Optimizing ... - MDPI
The second is to execute a 'buy (sell)' transaction only when the MACD line value exceeds (goes below) the Signal line value by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s by design since 2.0.0. The column can’t wrap because there are no spaces, so the text is overflowing. If you want the old behaviour set
overflow
onadd_column
to “fold”. i.e.table.add_column("test", overflow="fold")
.See the docs on overflow.
It works! Thanks for the immediate fix!👍