diff options
author | mathieui <mathieui@mathieui.net> | 2013-04-04 01:11:56 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-04-04 01:11:56 +0200 |
commit | 26fa83dd9a1d0f3a43efc706582ea93980289f71 (patch) | |
tree | 28aa5bd1ccaed364979b73389f216156b1d6814d /src | |
parent | 8a5a5bb644998fe03d8ab90d714c21d1552171a2 (diff) | |
download | poezio-26fa83dd9a1d0f3a43efc706582ea93980289f71.tar.gz poezio-26fa83dd9a1d0f3a43efc706582ea93980289f71.tar.bz2 poezio-26fa83dd9a1d0f3a43efc706582ea93980289f71.tar.xz poezio-26fa83dd9a1d0f3a43efc706582ea93980289f71.zip |
Add an option to choose between shared and separate input history
- separate_history, defaults to false
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.py | 2 |
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: |