From 1457e0a5d281ba304beaadc2a31f51652a5b8aff Mon Sep 17 00:00:00 2001 From: Leonard Hecker Date: Thu, 21 Nov 2024 03:20:51 +0100 Subject: [PATCH] Revert "Dedup command history by default (#17852)" This reverts commit 5fdfd51209fc681e66657d6697ce031bc4319619. --- src/host/settings.cpp | 4 ++-- src/propsheet/registry.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host/settings.cpp b/src/host/settings.cpp index 746bd91564f..4650fbf9eb1 100644 --- a/src/host/settings.cpp +++ b/src/host/settings.cpp @@ -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), @@ -110,7 +110,7 @@ void Settings::ApplyDesktopSpecificDefaults() _bQuickEdit = TRUE; _uHistoryBufferSize = 50; _uNumberOfHistoryBuffers = 4; - _bHistoryNoDup = true; + _bHistoryNoDup = FALSE; _renderSettings.ResetColorTable(); diff --git a/src/propsheet/registry.cpp b/src/propsheet/registry.cpp index 3a7283e080e..64d392aa76d 100644 --- a/src/propsheet/registry.cpp +++ b/src/propsheet/registry.cpp @@ -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)