microsoft / microsoft/terminal

No SUI option to clear "recentCommands"

Open
#11,557 1 comment 1 reaction 0 assignees View on GitHub
Area-SettingsUI Issue-Feature Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version (or Windows build number)

Windows Terminal Preview Version: 1.12.2922.0

### Other Software

Windows 10 version 10.0.19043.0

### Steps to reproduce

1. open command palette
2. backspace '>' then enter commands
3. close WT
4. open command palette

### Expected Behavior

1. option to delete recent commands

### Actual Behavior

1. no SUI option to clear recent commands
2. the only option is to edit or delete 'state.json'

Sample screenshot:
![wt_command_history](https://user-images.githubusercontent.com/3933920/138190038-8e1c5b09-13cf-4d54-aeb0-abea24768628.png)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the command palette's recent-command handling and how those entries are persisted in state.json. Confirm the expected clear-history interaction from the issue, then verify that the command palette provides a user-facing way to remove recent commands without editing state.json.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.