We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2008f commit 593336dCopy full SHA for 593336d
codex-rs/tui/src/bottom_pane/paste_burst.rs
@@ -201,12 +201,12 @@ impl PasteBurst {
201
if !self.is_active() {
202
return None;
203
}
204
+ self.active = false;
205
let mut out = std::mem::take(&mut self.buffer);
- if let Some((ch, _)) = self.pending_first_char.take() {
206
+ if let Some((ch, _at)) = self.pending_first_char.take() {
207
out.push(ch);
208
- self.clear_after_explicit_paste();
209
- if out.is_empty() { None } else { Some(out) }
+ Some(out)
210
211
212
/// Clear only the timing window and any pending first-char.
0 commit comments