From ae0f9c3ced9d07964a0bf2fe76f745aacc7dd34a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 23 Feb 2026 01:42:28 +0900 Subject: fix(search): match Composer single-line output format with truncation Replace two-line output (name+counts, indented description) with Composer's single-line aligned format: padded name, abandoned warning, and terminal-width-aware description truncation. Remove summary header and download/faver count display from text output. Co-Authored-By: Claude Opus 4.6 --- Cargo.lock | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index b692f5b..fd30568 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1089,6 +1089,7 @@ dependencies = [ "serde_json", "sha1", "tempfile", + "terminal_size", "tokio", "tracing", "tracing-subscriber", @@ -1932,6 +1933,16 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "terminal_size" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" +dependencies = [ + "rustix", + "windows-sys 0.60.2", +] + [[package]] name = "termtree" version = "0.5.1" -- cgit v1.3.1