summaryrefslogtreecommitdiffstats
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 1d59ac4..e778eee 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -113,6 +113,7 @@ pub fn tool_line(label: &str, name: &str, args: &serde_json::Value, include_deta
113 let detail = match name { 113 let detail = match name {
114 "bash" => args 114 "bash" => args
115 .get("cmd") 115 .get("cmd")
116 .or_else(|| args.get("command"))
116 .and_then(|v| v.as_str()) 117 .and_then(|v| v.as_str())
117 .unwrap_or("") 118 .unwrap_or("")
118 .to_string(), 119 .to_string(),