MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / update_spinner

Method update_spinner

crates/openshell-cli/src/run.rs:352–359  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

350 }
351
352 fn update_spinner(&self) {
353 let msg = if self.active_detail.is_empty() {
354 self.active_label.clone()
355 } else {
356 format!("{} {}", self.active_label, self.active_detail.dimmed())
357 };
358 self.spinner.set_message(msg);
359 }
360
361 /// Finish with an error message shown on the last step line.
362 fn finish_error(&self, msg: &str) {

Callers 2

set_activeMethod · 0.80
set_active_detailMethod · 0.80

Calls 2

set_messageMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected