Session Recording
Whether for writing documentation with exact operation logs or for auditing and post-mortem analysis, recording terminal sessions is a mandatory skill for advanced operations. PhanTerm provides a first-class, built-in lossless recording feature.
Asciicast v2 Format Standard
Section titled “Asciicast v2 Format Standard”Unlike standard screen video recordings or rigid text logs, PhanTerm captures sessions using the asciicast v2 format, which is widely popular among developers.
It accurately records timing and keystroke trajectories, resulting in extremely small file sizes. These files can be replayed internally within PhanTerm and are perfectly compatible with the vast Asciinema ecosystem for web playback.
How to Record
Section titled “How to Record”- While in a terminal tab, press
R(uppercase) to start recording the current session. - The bottom status bar will illuminate with a red
● RECindicator. - Press
Ragain to stop recording. The file will be automatically timestamped and saved locally without causing any interruptions. - Recording state is strictly isolated per session. You can independently record in multiple tabs simultaneously, and they will never interfere with each other.
Cinema Mode & Replay
Section titled “Cinema Mode & Replay”Once recording is complete, press W (uppercase) to summon the built-in playlist.
- In this interface, you can browse all historical recordings or press
dto clean up unneeded records. - Select a file and press
Enterto enter player mode. - Player Controls:
Space: Pause or resume playback.+/-: Adjust playback speed in real-time (stepless variable speed from0.5xto4x), allowing you to fast-forward through waits or observe in slow motion.Esc: Exit the player and return to the list.