You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
claudbg/.beans/claudbg-6t38--tui-gg-jumps-...

16 lines
622 B
Markdown

---
# claudbg-6t38
title: 'TUI: gg jumps to top of transcript'
status: completed
type: feature
priority: normal
created_at: 2026-03-31T23:45:20Z
updated_at: 2026-04-01T05:53:50Z
---
Add gg (double-g) keybinding in the transcript view to jump to the top of the transcript (vim-style gg navigation). Requires buffering single 'g' keypress to detect the chord.
## Summary of Changes
Added `pending_g: bool` field to `AppState` (init to false). In `handle_transcript_event`, clear `pending_g` on any key that isn't 'g', then handle 'g': if `pending_g` was already set, scroll to top (gg); otherwise set `pending_g = true`.