From 8fae93966f916291bece3e5673ca83cefa702069 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 22 Dec 2023 08:53:40 +0100 Subject: refactor shortening * use single-char ellipsis * use unicode width computation instead of counting chars, validate multi-block strings do not crash * copy-on-write --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 2ff61c4..1a02b92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -334,6 +334,7 @@ dependencies = [ "trash", "tui-react", "unicode-segmentation", + "unicode-width", "wild", ] -- cgit v1.2.3