Function truncate_command
Source pub fn truncate_command(cmd: &str, max_len: usize) -> String
Expand description
Truncate command for display (pure function)
§Arguments
cmd - Command string to truncate
max_len - Maximum display length
§Returns
Truncated command suitable for display