kingToolbox / kingToolbox/WindTerm

能否只保存执行成功的历史命令

Open
#2,203 6 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

能否只保存执行成功的历史命令,如:

![image](https://github.com/kingToolbox/WindTerm/assets/119718783/00b12a5b-19fe-421b-93cd-933ff81a89ea)

在红框圈出的命令中并没有执行成功,所以我不希望也保存于历史命令。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating WindTerm's command-history handling and how terminal commands report success or failure. The change is complete when commands that fail are excluded from saved history while successful commands continue to be retained; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.