kingToolbox / kingToolbox/WindTerm

Make command history editable

Open
#1,662 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I believe there is no way to edit the command history right now, not even manually. I tried to look into the "commands.history" files in the config folder but everything seems to be encrypted.
The use case is that when I typed something wrong, it will be remembered in the history forever and shows up in auto-completion all the time, which is a bit annoying.
It would be nice to make it possible to edit all history commands. Alternatively, it would be intuitive to remove a command by selecting it in auto-completion and pressing DEL.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating how the commands.history files in the config folder are stored and how command history is exposed through auto-completion. Determine whether the intended behavior is editing all saved commands, deleting a selected command with DEL, or both. Done means the chosen history entries can be changed or removed and no longer appear in auto-completion.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.