Use G3Status for /run command output
Change from custom emoji format to consistent g3: status message: 'g3: running <path> ... [done]'
This commit is contained in:
@@ -462,7 +462,8 @@ async fn handle_command<W: UiWriter>(
|
|||||||
if prompt.is_empty() {
|
if prompt.is_empty() {
|
||||||
output.print("❌ File is empty.");
|
output.print("❌ File is empty.");
|
||||||
} else {
|
} else {
|
||||||
output.print(&format!("📄 Running prompt from: {}", file_path));
|
G3Status::progress(&format!("running {}", file_path));
|
||||||
|
G3Status::done();
|
||||||
execute_task_with_retry(agent, prompt, show_prompt, show_code, output).await;
|
execute_task_with_retry(agent, prompt, show_prompt, show_code, output).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user