From ee8de89f9e082966dc5ca808e6e09769a05ca8e1 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 16 May 2013 16:08:30 +0200 Subject: Fix #2307 (commandinput history) --- src/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/windows.py b/src/windows.py index e5cd4045..cc9c09cd 100644 --- a/src/windows.py +++ b/src/windows.py @@ -1555,7 +1555,7 @@ class HistoryInput(Input): if self.histo_pos == -1 and self.get_text(): if not self.history or self.history[0] != self.get_text(): # add the message to history, we do not want to lose it - MessageInput.history.insert(0, self.get_text()) + self.history.insert(0, self.get_text()) self.histo_pos += 1 if self.histo_pos < len(self.history) - 1: self.histo_pos += 1 -- cgit v1.2.3