Your Half-Typed Prompt Lives Inside the Agent, Not the Terminal. Injected Commands Hit It - DEV Community
In raw mode the kernel keeps no line buffer, so your draft lives inside Claude Code or Codex. A PTY experiment shows what an injected /help does to it.