prompt-toolkit / prompt-toolkit/python-prompt-toolkit

Question: Is there an easy way to save all output during a session

Open
#1,493 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

I know there is a FileHistory capability but I was wondering if it were possible to hook everything in a cmd loop to dump input and output to a file sanely (script cmd is a bit on the crazy side.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing FileHistory capability and the cmd loop mentioned in the issue. Determine whether capturing all input and output is supported and define what a complete session dump should contain; the issue does not name files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.