Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dedup command history by default (#17852)
Under ConPTY we don't load any user settings. `SetUpConsole` notes: > If we are [ConPTY], we don't want to load any user settings, > because that could result in some strange rendering results [...] This enables deduplication by default, which I figured wouldn't cause any regressions since it's a user-controllable setting anyway, while it's clearly something the average user wants enabled, for the same reason that PSReadLine has HistoryNoDuplicates enabled by default. Closes #17797 ## Validation Steps Performed * Launch conhost, enter 2 commands, press F7, select the older one, press Enter, press F7. 2 entries ✅ * Launch WT, enter 2 commands, press F7, select the older one, press Enter, press F7. 2 entries ✅ (cherry picked from commit 5fdfd51) Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgSN1FQ Service-Version: 1.22
- Loading branch information