mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:22:05 +00:00
Add user command event types (#6246)
adding new user command event, logic in TUI to render user command events
This commit is contained in:
1 parent
e743d251a7
commit
980886498c
7 files changed
+411
-66
No files matched your search
@@ -317,7 +317,13 @@ impl ExecCell {
|
||||
Some(false) => "•".red().bold(),
|
||||
None => spinner(call.start_time),
|
||||
};
|
||||
let title = if self.is_active() { "Running" } else { "Ran" };
|
||||
let title = if self.is_active() {
|
||||
"Running"
|
||||
} else if call.is_user_shell_command {
|
||||
"You ran"
|
||||
} else {
|
||||
"Ran"
|
||||
};
|
||||
|
||||
let mut header_line =
|
||||
Line::from(vec![bullet.clone(), " ".into(), title.bold(), " ".into()]);
|
||||
|
||||
Reference in new issue
Block a user