about summary refs log tree commit diff
path: root/saneterm/terminal.py
diff options
context:
space:
mode:
Diffstat (limited to 'saneterm/terminal.py')
-rw-r--r--saneterm/terminal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/saneterm/terminal.py b/saneterm/terminal.py
index 8bd3120..c48ea04 100644
--- a/saneterm/terminal.py
+++ b/saneterm/terminal.py
@@ -144,7 +144,7 @@ class Terminal(Gtk.Window):
         return GLib.SOURCE_CONTINUE
 
     def reset_history_index(self):
-        self.hist_index = 0
+        self.hist_index = -1
 
     def history(self, termview, idx):
         # Backup index and restore it if no entry with new index exists.