mirror of
https://github.com/nsnail/spectre.console.git
synced 2026-05-04 22:29:29 +08:00
c9c0ad733f
The bug might occur if there are wide characters such as emojis at the end of a line. The SplitLines method mixed cell width and text length, which might give incorrect results. This commit makes sure that comparison and calculation is done using cell width where it's appropriate.