View your Pi session transcript in a tmux split pane using glow or bat.
Pi is a TUI application that renders differentially — it does not produce normal terminal scrollback. This means you cannot scroll up in tmux to review earlier conversation. This extension works around that limitation by exporting the session to a markdown file and opening it in a side pane.
- tmux — for the split pane
- glow (recommended) or bat — for viewing the markdown transcript
Install on macOS:
brew install glow batpi install npm:@rezamonangg/pi-transcriptOr local:
pi install /path/to/pi-transcriptInside a tmux session running Pi, type:
/transcript
This opens a horizontal split (40% width) showing the full session transcript rendered with glow (or bat/less as fallback). Press q in the pane to close it. Re-running /transcript refreshes the content.
glow— renders markdown (bold, headers)bat— syntax-highlights markdownless— plain text pager
MIT