MCPcopy Create free account
hub / github.com/clawshell/clawshell / print_section

Function print_section

src/tui.rs:80–85  ·  view source on GitHub ↗
(title: &str)

Source from the content-addressed store, hash-verified

78}
79
80pub fn print_section(title: &str) {
81 let style = theme_bold();
82 println!();
83 println!("{}", style.apply_to(format!("── {title} ──")));
84 println!();
85}
86
87/// Print a step indicator like "[2/5] Doing something..." without advancing to the next line,
88/// so it can be updated in-place by a subsequent call to [`print_step_done`].

Callers 6

cmd_logsFunction · 0.85
cmd_configFunction · 0.85
cmd_migrate_configFunction · 0.85
cmd_onboardFunction · 0.85

Calls 1

theme_boldFunction · 0.85

Tested by 1