Skip to content

Commit 938b219

Browse files
lheckerDHowett
authored andcommitted
Revert "Dedup command history by default (#17852)" (#18229)
This reverts commit 5fdfd51, because 3 people complained about this change VS 1 person requesting the change to be made in the first place. Closes #18138 Reopens #17797 for discussion (cherry picked from commit 220c7cd) Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgUeWb8 Service-Version: 1.22
1 parent e571e4f commit 938b219

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/host/settings.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Settings::Settings() :
3636
_bAutoPosition(true),
3737
_uHistoryBufferSize(DEFAULT_NUMBER_OF_COMMANDS),
3838
_uNumberOfHistoryBuffers(DEFAULT_NUMBER_OF_BUFFERS),
39-
_bHistoryNoDup(true),
39+
_bHistoryNoDup(false),
4040
// ColorTable initialized below
4141
_uCodePage(ServiceLocator::LocateGlobals().uiOEMCP),
4242
_uScrollScale(1),
@@ -110,7 +110,7 @@ void Settings::ApplyDesktopSpecificDefaults()
110110
_bQuickEdit = TRUE;
111111
_uHistoryBufferSize = 50;
112112
_uNumberOfHistoryBuffers = 4;
113-
_bHistoryNoDup = true;
113+
_bHistoryNoDup = FALSE;
114114

115115
_renderSettings.ResetColorTable();
116116

src/propsheet/registry.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ VOID InitRegistryValues(
7979
pStateInfo->CursorSize = 25;
8080
pStateInfo->HistoryBufferSize = 25;
8181
pStateInfo->NumberOfHistoryBuffers = 4;
82-
pStateInfo->HistoryNoDup = 1;
82+
pStateInfo->HistoryNoDup = 0;
8383

8484
// clang-format off
8585
if (pStateInfo->fIsV2Console)

0 commit comments

Comments
 (0)