mirror of
https://github.com/openai/codex.git
synced 2026-11-12 14:41:42 +00:00
queue only when task is working (#9558)
This commit is contained in:
1 parent
de4980d2ac
commit
fbd8afad81
2 files changed
+2
-2
No files matched your search
@@ -1816,7 +1816,7 @@ impl ChatComposer {
|
||||
modifiers: KeyModifiers::NONE,
|
||||
kind: KeyEventKind::Press,
|
||||
..
|
||||
} => self.handle_submission(true),
|
||||
} if self.is_task_running => self.handle_submission(true),
|
||||
KeyEvent {
|
||||
code: KeyCode::Enter,
|
||||
modifiers: KeyModifiers::NONE,
|
||||
|
||||
@@ -1746,7 +1746,7 @@ impl ChatComposer {
|
||||
modifiers: KeyModifiers::NONE,
|
||||
kind: KeyEventKind::Press,
|
||||
..
|
||||
} => self.handle_submission(true),
|
||||
} if self.is_task_running => self.handle_submission(true),
|
||||
KeyEvent {
|
||||
code: KeyCode::Enter,
|
||||
modifiers: KeyModifiers::NONE,
|
||||
|
||||
Reference in new issue
Block a user