From 6acddc3e6d962e0c1c6623c6ca19966694645e4c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 21 Oct 2016 15:48:36 +0530 Subject: [PATCH] ... --- kitty/screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/screen.py b/kitty/screen.py index fa1aa2ab2..997d2e9e9 100644 --- a/kitty/screen.py +++ b/kitty/screen.py @@ -460,8 +460,8 @@ class Screen(QObject): l = self.linebuf.pop(top) if self.linebuf is self.main_linebuf: self.tophistorybuf.append(l) + self.line_added_to_history() self.linebuf.insert(bottom, Line(self.columns)) - self.line_added_to_history() self.update_screen() else: self.cursor_down()