From f59715e4fd5d4b7cea40ae843e190ff21710ff43 Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Fri, 11 Nov 2022 15:00:14 -0600 Subject: [PATCH] Allow changing InputHistoryProvider --- src/Typin/Typin.Modes.Interactive/InteractiveModeOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Typin/Typin.Modes.Interactive/InteractiveModeOptions.cs b/src/Typin/Typin.Modes.Interactive/InteractiveModeOptions.cs index 469babcc..32eaabb7 100644 --- a/src/Typin/Typin.Modes.Interactive/InteractiveModeOptions.cs +++ b/src/Typin/Typin.Modes.Interactive/InteractiveModeOptions.cs @@ -37,7 +37,7 @@ public class InteractiveModeOptions /// /// Command input history. /// - public IInputHistoryProvider InputHistory { get; } = new InputHistoryProvider(); + public IInputHistoryProvider InputHistory { get; set; } = new InputHistoryProvider(); /// /// User defined shortcuts.