forked from Mirrors/helix
update `x_offset` calculation in Buffer::set_string_truncated (#3839)
when `truncate_start` is `true`, the `x_offset` is now properly updated according to the width of the content or the truncated length.pull/1/head
parent
94346356e7
commit
7483c76222
Loading…
Reference in New Issue