Skip to content

Commit

Permalink
Revert "Dedup command history by default (#17852)" (#18229)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lhecker authored and DHowett committed Feb 3, 2025
1 parent e571e4f commit 938b219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/host/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Settings::Settings() :
_bAutoPosition(true),
_uHistoryBufferSize(DEFAULT_NUMBER_OF_COMMANDS),
_uNumberOfHistoryBuffers(DEFAULT_NUMBER_OF_BUFFERS),
_bHistoryNoDup(true),
_bHistoryNoDup(false),
// ColorTable initialized below
_uCodePage(ServiceLocator::LocateGlobals().uiOEMCP),
_uScrollScale(1),
Expand Down Expand Up @@ -110,7 +110,7 @@ void Settings::ApplyDesktopSpecificDefaults()
_bQuickEdit = TRUE;
_uHistoryBufferSize = 50;
_uNumberOfHistoryBuffers = 4;
_bHistoryNoDup = true;
_bHistoryNoDup = FALSE;

_renderSettings.ResetColorTable();

Expand Down
2 changes: 1 addition & 1 deletion src/propsheet/registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ VOID InitRegistryValues(
pStateInfo->CursorSize = 25;
pStateInfo->HistoryBufferSize = 25;
pStateInfo->NumberOfHistoryBuffers = 4;
pStateInfo->HistoryNoDup = 1;
pStateInfo->HistoryNoDup = 0;

// clang-format off
if (pStateInfo->fIsV2Console)
Expand Down

0 comments on commit 938b219

Please # to comment.