We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d46fc3 commit 2676ca7Copy full SHA for 2676ca7
1 file changed
src/repl/tui/worker.rs
@@ -128,7 +128,11 @@ fn run(
128
}
129
Job::Command(cmd) => {
130
interrupt.store(false, Ordering::SeqCst);
131
- let _ = ui_tx.send(UiEvent::WorkerBusy("command".into()));
+ let label = match cmd {
132
+ crate::commands::Command::Compact => "compacting",
133
+ _ => "command",
134
+ };
135
+ let _ = ui_tx.send(UiEvent::WorkerBusy(label.into()));
136
match run_command(repl, cmd, &ui_tx) {
137
Ok(CommandResult::Exit) => {
138
// Don't send `WorkerIdle` here — the UI would
0 commit comments