summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index 56eb3ab4..b612e20d 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1508,6 +1508,8 @@ class HistoryInput(Input):
self.current_completed = ''
self.key_func['^R'] = self.toggle_search
self.search = False
+ if config.get('separate_history', 'false') == 'true':
+ self.history = list()
def toggle_search(self):
if self.help_message: