cs01 / cs01/pyxtermjs

Save the user prompt that is sent from web terminal

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
398
Forks
100
PR merge metrics
No merged PRs in 30d

Description

I am trying to save the user prompt to a log file but this program receives every key that is pressed by user without filtering any. Is there any way to save only the input when pressed enter?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the Flask web terminal receives key events and where the user input is assembled before it is sent or logged. Check the terminal-side JavaScript and the Python server path, then determine how Enter-delimited input should be captured. Done means only completed prompts, rather than individual key presses, are written to the log file.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, javascript, python
Domain
backend, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.