From 274afff5c34226551806fb7a9d41096e36768ccc Mon Sep 17 00:00:00 2001 From: Shihan42 Date: Wed, 22 Feb 2023 11:21:04 +0100 Subject: [PATCH] Minimal length of search string is now 1 --- apps/openmw/mwgui/console.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/console.hpp b/apps/openmw/mwgui/console.hpp index 5347657b71..dd9c6b48ac 100644 --- a/apps/openmw/mwgui/console.hpp +++ b/apps/openmw/mwgui/console.hpp @@ -89,7 +89,7 @@ namespace MWGui void markOccurrence(size_t textPosition, size_t length); size_t currentOccurrence = std::string::npos; std::string currentSearchTerm = ""; - const size_t minLengthOfSearchTerm = 3; + const size_t minLengthOfSearchTerm = 1; std::string complete(std::string input, std::vector& matches);