Skip to main content
subagent CX Codex

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.

AGPL-3.0 ★ 720 updated 2026-11-10

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/APP-4896---forward-Ctrl-Shift-C-to-PTY-in-fullscreen-TUI.md
Open on GitHub

What APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI does

This subagent routes Linux copy shortcuts directly into fullscreen terminal applications. Terminal emulators intercept Ctrl+Shift+C, but fail to copy when text is selected strictly within the TUI internal memory rather than the emulator grid. The fix appends a fallback checking for an active alternate screen, sending byte 0x03 (ETX) to the PTY so the foreground program can handle its internal copy action.

The logic executes on Linux environments while ignoring plain shell sessions to prevent triggering an accidental SIGINT. Native terminal selections take precedence, copying directly to the system clipboard without touching the PTY stream. If an AI worker controls the active terminal block, safety guards silence PTY writing immediately.

What it helps with

  • pass Ctrl+Shift+C into TUI processes with internal text selections
  • fix swallowed copy shortcuts across Warp on Linux desktops
  • avoid accidental SIGINT signals on standard shell prompts
  • keep native terminal grid and block selections functioning as usual

Example prompts for the agent

  • Implement the APP-4896 spec to forward Ctrl+Shift+C to PTY in fullscreen TUI
  • Update copy() in view.rs to send ETX when alt-screen is active
  • Ensure Ctrl+Shift+C acts as a no-op on normal screens without selection

How to install APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI

Manually: put the files in place

.claude/agents/APP-4896---forward-Ctrl-Shift-C-to-PTY-in-fullscreen-TUI.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 APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI

How to install APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI in Claude Code?

Place the subagent definition file at .claude/agents/APP-4896---forward-Ctrl-Shift-C-to-PTY-in-fullscreen-TUI.md inside your repository.

What does APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI do?

It instructs the terminal to write byte 0x03 into the PTY whenever Linux users trigger copy inside alternate-screen programs lacking emulator selections.

What is required for APP-4896 - forward Ctrl+Shift+C to PTY in fullscreen TUI to work?

It requires a Linux desktop environment running the Warp terminal codebase alongside alt-screen terminal tools.

Similar subagents

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

From the same set62

The whole set →
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 CODE-1895-tui-lrc-typeahead-wiring 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. 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 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 APP-4881-tui-starting-shell-indicator APP-4881-tui-starting-shell-indicator is a Claude Code subagent that specifies the Starting shell... status line in TUI. It keeps the draft editor editable during initial session bootstrap. CX Codex ★ 720repo stars CODE-1884-voice-input-slash-command CODE-1884-voice-input-slash-command is a Claude Code subagent for adding /voice voice input to a headless TUI. Esc or Enter ends recording and starts transcription. CX Codex ★ 720repo stars REMOTE-2160 - macOS video recording for computer use REMOTE-2160 - macOS video recording for computer use is a Claude Code subagent for macOS screen capture in computer use. It specifies avfoundation capture using ffmpeg. CX Codex ★ 720repo stars

Project sponsors

Companies that keep this analytics open