diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-27 00:12:25 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-27 00:12:25 +0300 |
| commit | bb29eedb7209a0d5e91052458ce76bc7e4259d18 (patch) | |
| tree | 6c2e3f85dbf2666e37bd3c977d587e0ed5f15d25 /src/terminal | |
| parent | 471041690af928d9a4d4cda8e4963cc7dcb3d6a8 (diff) | |
fix: delay agent prompt submission
refs #1878
Diffstat (limited to 'src/terminal')
| -rw-r--r-- | src/terminal/runtime.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index cd6f4211..f9858ce0 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -411,6 +411,10 @@ impl TerminalRuntime { self.0.try_send_bytes(bytes) } + pub fn send_bytes_after(&self, bytes: Bytes, delay: std::time::Duration) { + self.0.send_bytes_after(bytes, delay); + } + pub async fn send_paste(&self, text: String) -> Result<(), mpsc::error::SendError<Bytes>> { self.0.send_paste(text).await } |
