gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Refactor text overflow solution

Open robin-thoene opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. At different places inside the source code it is necessary to render text that is overflowing the width by shortening it and displaying three dots '...' at the end/start instead of the full text.

This code is duplicated and the refactoring should provide a centralized way to handle this without duplicating code.

Additional context Caught attention in PR #2350 for issue #2172

robin-thoene avatar Sep 18 '24 14:09 robin-thoene