Skip to content

Interactive capture

When capturing editor operations such as Vim or interactive work in a REPL, interactive capture lets you take screenshots or recordings at any timing.

Run the interactive command.

Terminal
# Start interactive mode with the default shell
console2svg interactive
# Launch a specific command directly
# console2svg interactive -- vim main.rs

Once the session starts, you can type and operate it just like a normal terminal.

console2svg interactive session

During the session, you can capture with the following keys.

KeyAction
F9Video capture (start / stop)
F10Still-image capture
F12Pause during video recording

By default, output uses the format output_YYYYMMDD_HHMMSSsss.svg. You can specify any file name with the -o option (a timestamp is appended automatically).

Terminal
console2svg interactive -o my_output.svg
# -> my_output_20260101_123456789.svg

Automatic conversion is also performed when you specify an extension.

Terminal
console2svg interactive -o my_result.mp4
# -> my_result_20260101_123456789.mp4

As with capture mode, you can specify options such as themes and window styles.

Terminal
console2svg interactive -d macos-pc -t github-dark