Skip to content

feat: add --keylog flag to record keypresses with timestamps#713

Closed
pkazmier wants to merge 2 commits into
charmbracelet:mainfrom
pkazmier:keylogger
Closed

feat: add --keylog flag to record keypresses with timestamps#713
pkazmier wants to merge 2 commits into
charmbracelet:mainfrom
pkazmier:keylogger

Conversation

@pkazmier

Copy link
Copy Markdown

Record key events during tape execution and output them as JSON for use by external subtitle generation or other accessibility tools.

Timestamps are derived from frame numbers to ensure accurate alignment with video output. My first version used wall clock, but that resulted in significant drift even in a 30s video (1.35s of drift). This version results in +/- of a frame or two.

Key events are not recorded during Hide sections.

See discussion #702 for more details.

Record key events during tape execution and output them as JSON for use
by external subtitle generation or other accessibility tools.

Timestamps are derived from frame numbers to ensure accurate alignment
with video output. My first version used wall clock, but that resulted
in significant drift even in a 30s video (1.35s of drift). This version
results in +/- of a frame or two.

Key events are not recorded during Hide sections.
@pkazmier pkazmier requested a review from a team as a code owner February 27, 2026 17:03
@pkazmier pkazmier requested review from andreynering and aymanbagabas and removed request for a team February 27, 2026 17:03
@pkazmier

Copy link
Copy Markdown
Author

This PR has been superseded by PR #719 which adds captioning directly to VHS. I'd prefer to close this one if you'd consider the other one.

@pkazmier pkazmier closed this Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant