pty-capture
CommunityCapture terminal truth: exact emitted bytes.
Software Engineering#QEMU#terminal emulation#pty#escape sequences#KVM#compatibility testing#byte capture
AuthoroElberte
Version1.0.0
Installs0
System Documentation
What problem does it solve?
PTY byte capture eliminates guesswork when you need to know the exact escape sequence bytes a specific terminal emits for a given keystroke, so your workflows can be validated against real behavior instead of assumptions.
Core Features & Use Cases
- Exact terminal byte capture: capture the ground-truth byte stream a real terminal emulator produces for a target key or key-combo.
- Platform-specific capture architecture: use the OS-appropriate capture mechanism for Linux/Wayland, macOS (QEMU), or Windows (KVM).
- Test/fixture follow-on: turn captured bytes into compatibility fixtures and replay tests to verify terminal behavior changes across emulators.
- Use case: when a “Shift+Enter” mapping differs between two terminal emulators, capture each emulator’s real bytes for Shift+Enter and then build replay tests that assert they match (or intentionally differ).
Quick Start
Read the platform file for your target OS and run the provided capture script to dump the exact bytes for the terminal and keystroke you care about.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pty-capture Download link: https://github.com/oElberte/dotfiles/archive/main.zip#pty-capture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.