gpui: Fix utf8 slicing panic in `truncate_line` (#46914)
Fixes https://github.com/zed-industries/zed/issues/46904
Release Notes:
- Fixed a panic in the git panel when utf8 multibyte character filenames
got truncated
3ed6c68f3bLukas Wirth committed on 1/15/2026, 4:02:54 PM· committed by GitHubparent6e0dc03