Skip to main content
subagent CX Codex

CODE-1895-tui-lrc-typeahead-wiring — Claude Code subagent

CODE-1895-tui-lrc-typeahead-wiring is a Claude Code subagent that restores typed input in the TUI after a long-running command ends. It handles shell typeahead at the next prompt.

AGPL-3.0 ★ 720 updated 2026-11-10

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/CODE-1895-tui-lrc-typeahead-wiring.md
Open on GitHub

What CODE-1895-tui-lrc-typeahead-wiring does

This subagent wires typeahead events into Warp's TUI input editor. Text entered while a command such as sleep 5 is running is placed into the next prompt after the command exits.

The shared terminal model keeps its existing detection and insertion policy. The TUI applies the result through replace_first_n_characters, then moves the cursor to the end, so successive partial events replace earlier text instead of appending duplicates.

Agent-requested commands are excluded from automatic insertion, and alt-screen applications keep their current behavior. The InputMatching path for bash 3.2 is best-effort and needs keystrokes forwarded through the TUI PTY; the reported fix targets ShellReported.

What it helps with

  • restore text typed during a long-running shell command
  • replace an earlier partial typeahead buffer
  • exclude input from agent-requested commands
  • preserve PTY delivery to the foreground process
  • keep alt-screen applications out of typeahead handling

Example prompts for the agent

  • Investigate CODE-1895 and wire typeahead into the Warp TUI input editor.
  • Fix the case where echo hi is typed during sleep 5 and should appear after the command finishes.
  • Verify that ec followed by echo hi leaves one echo hi buffer, while agent-requested commands do not insert typeahead.

How to install CODE-1895-tui-lrc-typeahead-wiring

Manually: put the files in place

.claude/agents/CODE-1895-tui-lrc-typeahead-wiring.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about CODE-1895-tui-lrc-typeahead-wiring

How do I install CODE-1895-tui-lrc-typeahead-wiring in Claude Code?

Add the subagent file at .claude/agents/CODE-1895-tui-lrc-typeahead-wiring.md.

What does CODE-1895-tui-lrc-typeahead-wiring do?

It connects existing typeahead events to Warp's TUI editor. Input typed during a long-running shell command appears at the next prompt, with earlier partial text replaced.

How does CODE-1895-tui-lrc-typeahead-wiring handle bash 3.2?

The InputMatching path needs typed keystrokes forwarded through the TUI PTY. It is best-effort, while the main fix covers ShellReported shells.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set62

The whole set →
CODE-1902 change TUI log storage CODE-1902 change TUI log storage is a Claude Code subagent that moves TUI logs into a frontend-specific directory while keeping GUI channel filenames. It also fixes /view-logs collection. CX Codex ★ 720repo stars APP-4880 - TUI view-logs slash command APP-4880 - TUI view-logs slash command is a Claude Code subagent that adds a /view-logs TUI command to pack logs into a zip. It prints the absolute path and opens the OS file manager. CX Codex ★ 720repo stars APP-4902 - window-scoped background focus suppression APP-4902 - window-scoped background focus suppression is a Claude Code subagent that narrows Warp focus blocking during background computer-use sessions. CX Codex ★ 720repo stars QUALITY-1169-richer-click-drag-annotations QUALITY-1169-richer-click-drag-annotations is a Claude Code subagent that adds click ripples and drag trails to computer-use video recordings on Linux. CX Codex ★ 720repo stars APP-4889 - fixed-height expandable toasts with 3-active cap APP-4889 - fixed-height expandable toasts with 3-active cap is a Claude Code subagent specifying toast UI limits for Warp. It caps active toasts at three and makes long messages expandable. CX Codex ★ 720repo stars APP-4878 - fix TUI copy to use native clipboard APP-4878 - fix TUI copy to use native clipboard is a Claude Code subagent that routes local TUI copies to the OS clipboard. SSH sessions use OSC 52. CX Codex ★ 720repo stars APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI is a Claude Code subagent routing Linux terminal copy events into interactive TUIs. Activates during alt-screen sessions without grid selections. CX Codex ★ 720repo stars QUALITY-1112-smart-variable-speedcut-for-computer-use-recordings QUALITY-1112-smart-variable-speedcut-for-computer-use-recordings is a Claude Code subagent for trimming computer-use recordings after capture. It keeps action work at 1x and removes idle gaps. CX Codex ★ 720repo stars

Project sponsors

Companies that keep this analytics open