improv: show ellipsis if nothing else fits
If buffer is small enough that char+ellipsis doesn't fit, then show ellipsis alone. If buffer is smaller than ellipsis, show nothing.
This commit is contained in:
parent
d304a49536
commit
a8873a0536
3 changed files with 31 additions and 0 deletions
3
tests/images/ellipsize_ltr_middle_small_buffer.png
Normal file
3
tests/images/ellipsize_ltr_middle_small_buffer.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4cfbb42f584b56040a99ddb82eebdecc967a89ce340d393aa651c2a441fd7fcf
|
||||
size 764
|
||||
Loading…
Add table
Add a link
Reference in a new issue