Skip to content

feat/qol: record mode #78

Open
Open
@polarhive

Description

@polarhive

Your shell should have a start-record keybind, say: CTRL+R and a prompt shows up.

Usecase: a new user has no clue what caused an error and they've to keep scrolling to take screenshots and you have to manually read through and type commands one by one from that screenshot to reproduce their errors. Instead: psh lets them share their logs from that specific session.

It starts to log anything on the STDOUT and appends it to a file. The user can publish this file to a pastebin. This in essence is like (a long-screenshot) so that you can share what went it wrong while debugging.

Try building it natively, otherwise if out of time, let call ascii cinema in a forked process when the CTRL+R keybind is pressed. ref: ascii cinema

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions