mirror of
https://github.com/openai/codex.git
synced 2026-05-01 01:47:18 +00:00
Show tab queue hint in footer (#9138)
- show the Tab queue hint in the footer when a task is running with Steer enabled - drop the history queue hint and add footer snapshots
This commit is contained in:
@@ -2152,17 +2152,6 @@ impl ChatWidget {
|
||||
self.add_to_history(history_cell::new_user_prompt(text));
|
||||
}
|
||||
|
||||
// If steer is enabled and a task is running, show hint about queuing with Tab
|
||||
if self.config.features.enabled(Feature::Steer) && self.bottom_pane.is_task_running() {
|
||||
use crate::key_hint;
|
||||
use ratatui::text::Line;
|
||||
let hint_line = Line::from(vec![
|
||||
"You can queue messages by pressing ".dim(),
|
||||
key_hint::plain(KeyCode::Tab).into(),
|
||||
]);
|
||||
self.add_to_history(history_cell::PlainHistoryCell::new(vec![hint_line]));
|
||||
}
|
||||
|
||||
self.needs_final_message_separator = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user