Closed landersson closed 1 year ago
Sooooooo it turns out the button slicing was completely and utterly broken when used with a button that has inline markup, so removing it was the better option. Look at the commit comment for more info.
Thanks for the report!
Great, this solves my problem for now. Thanks for the fix!
Is seems like button text gets truncated and terminated with three dots ("...") based on the total length of the button label string, including markup:
Unless the terminal is wide enough, it code above produces the following screen for me:
Expected behaviour would be for the righthand button label not being truncated and correctly styled.