diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-05 02:38:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-05 02:38:14 +0200 |
| commit | 7916be1656d8ee9c5882b52753cd47f5e58e3e7e (patch) | |
| tree | d54015e01ecff6566bad26034ada4e8cca3d3edf /src/terminal | |
| parent | 987651a760cdfe4cd9493388e8c16b8f99643a05 (diff) | |
fix: make Windows Codex prompt delay size-aware (#3552)
refs #3187
Diffstat (limited to 'src/terminal')
| -rw-r--r-- | src/terminal/runtime.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index 66484ea9..4fa80326 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -454,8 +454,10 @@ impl TerminalRuntime { text: Bytes, enter: Bytes, delay: std::time::Duration, + deadline: Option<std::time::Instant>, ) -> std::io::Result<std::sync::mpsc::Receiver<std::io::Result<()>>> { - self.0.queue_user_input_submission(text, enter, delay) + self.0 + .queue_user_input_submission(text, enter, delay, deadline) } pub fn try_send_paste(&self, text: String) -> Result<(), mpsc::error::TrySendError<Bytes>> { |
