primitivus: fixes :search command

This commit is contained in:
souliane 2015-04-09 11:24:25 +02:00
commit de9c656e3b

View file

@ -147,7 +147,7 @@ class EditBar(sat_widgets.ModalEdit):
if not pattern:
self.host.notif_bar.addMessage(D_("Please specify the globbing pattern to search for"))
widget.clearHistory()
widget.printInfo(D_("Results for searching the globbing pattern: %s") % pattern, timestamp=0)
widget.printInfo(D_("Results for searching the globbing pattern: %s") % pattern, extra={'timestamp': 0})
widget.historyPrint(size=C.HISTORY_LIMIT_NONE, search=pattern, profile=widget.profile)
widget.printInfo(D_("Type ':history <lines>' to reset the chat history"))
else: