mirror of https://github.com/fdehau/tui-rs
fix(widgets/list): fix line length calculation for selectable lists
The code that outputs the list elements uses the full inner width of its block, without taking the width of the highlight symbol into consideration. This allows the elements to overflow the box and draw over the block's border. To fix that, we need to reduce the target width for the list elements.pull/271/head
parent
8debb0d338
commit
8f9aa276e8
Loading…
Reference in New Issue