Commit 26fa83dd authored by mathieui's avatar mathieui

Add an option to choose between shared and separate input history

- separate_history, defaults to false
parent 8a5a5bb6
......@@ -403,6 +403,10 @@ send_os_info = true
# Set to false if you don't want people to know that information
send_time = true
# If true, the history of the similar inputs won't be shared between
# different tabs (as in weechat).
separate_history = false
# The language you specify using.
# This *may* be ysed by an automated entity to send you tailored replies
# If you don't understand, leave en.
......
......@@ -409,6 +409,11 @@ section of this documentation.
if true, your current time will be sent if asked
Set to false if you don't want people to know that information
*separate_history*:: false
If true, the history of inputs of the same nature won’t be shared
between tabs (as in weechat).
*server*:: anon.jeproteste.info
The server to use for anonymous authentication.
......
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment