summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-05-16 16:08:30 +0200
committermathieui <mathieui@mathieui.net>2013-05-16 16:08:30 +0200
commitee8de89f9e082966dc5ca808e6e09769a05ca8e1 (patch)
tree458bdda827296cfcbaab1e6f8d6b7ed05632aecc
parent06e368f66eb42bc279c753b08ccb873c52e320d3 (diff)
downloadpoezio-ee8de89f9e082966dc5ca808e6e09769a05ca8e1.tar.gz
poezio-ee8de89f9e082966dc5ca808e6e09769a05ca8e1.tar.bz2
poezio-ee8de89f9e082966dc5ca808e6e09769a05ca8e1.tar.xz
poezio-ee8de89f9e082966dc5ca808e6e09769a05ca8e1.zip
Fix #2307 (commandinput history)
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
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