mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
Refresh request_user_input draft before interrupt
This commit is contained in:
@@ -708,6 +708,7 @@ impl RequestUserInputOverlay {
|
||||
|
||||
/// Submit committed answers when the questions UI is explicitly interrupted.
|
||||
fn submit_committed_answers_for_interrupt(&mut self) {
|
||||
self.save_current_draft();
|
||||
let mut answers = HashMap::new();
|
||||
for (idx, question) in self.request.questions.iter().enumerate() {
|
||||
if let Some(answer) = self.answer_for_question(idx, false) {
|
||||
|
||||
Reference in New Issue
Block a user