Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7684d4b
fix(code): keep rapid typing visible
mdrxy Aug 11, 2026
dd0c993
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 11, 2026
160bbd9
fix(code): reject unquoted media key bursts in inline prompts
mdrxy Aug 11, 2026
a3b9f0b
fix(code): keep rapid typing visible until a paste is confirmed
mdrxy Aug 11, 2026
2fced5c
fix(code): respect paste burst timing gaps
mdrxy Aug 11, 2026
c1d548a
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 11, 2026
304ca88
fix(code): preserve key-event paste contents
mdrxy Aug 11, 2026
0796e92
fix(code): preserve rapid path and space ordering
mdrxy Aug 12, 2026
73820c3
fix(code): keep quoted rapid typing visible
mdrxy Aug 12, 2026
8763007
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 13, 2026
c12b306
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 14, 2026
8c08acb
fix(code): preserve slash commands in burst handling
mdrxy Aug 17, 2026
2f0b3d9
fix(code): harden burst promotion and deferred-space handling
mdrxy Aug 17, 2026
fc78f2c
Merge remote-tracking branch 'origin/main' into mdrxy/code/keep-rapid…
mdrxy Aug 17, 2026
96bbe89
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 18, 2026
c714c21
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 18, 2026
4a262ba
fix(code): apply burst pastes synchronously
mdrxy Aug 18, 2026
a55f976
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 18, 2026
5a51b5e
fix(code): preserve double-slash path pastes
mdrxy Aug 18, 2026
3ed1744
fix(code): preserve typed spaces and failed burst pastes
mdrxy Aug 18, 2026
17844fb
Merge branch 'main' into mdrxy/code/keep-rapid-typing-visible
mdrxy Aug 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions libs/code/deepagents_code/tui/widgets/_inline_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,21 +163,13 @@ async def _on_key(self, event: events.Key) -> None:
now = time.monotonic()

# Drive the shared paste-burst state machine so a paste replayed as rapid
# key events (no bracketed paste) stays grouped and can be collapsed.
# key events (no bracketed paste) stays grouped without delaying typing.
if await self._absorb_key_into_burst(event, now):
event.prevent_default()
event.stop()
return

if self._maybe_start_burst(event, now):
event.prevent_default()
event.stop()
return

if self._track_burst_run(event, now):
event.prevent_default()
event.stop()
return
self._track_burst_run(event, now)

if event.key == "backspace" and self._delete_placeholder_token(backwards=True):
event.prevent_default()
Expand Down Expand Up @@ -207,6 +199,10 @@ async def _on_key(self, event: events.Key) -> None:

await super()._on_key(event)

# Must follow `super()._on_key`: promotion verifies the run against the
# document, so the current character has to be in it already.
self._check_burst_run_for_promotion()

async def _on_paste(self, event: events.Paste) -> None:
"""Reject a dragged media file, else defer to shared paste handling."""
# Flush first, matching the base handler: a rejection returns early, and
Expand Down
Loading
Loading