From dedbd14aceabc489d2fad93ac5ead099312fe722 Mon Sep 17 00:00:00 2001 From: pagedown Date: Fri, 10 Dec 2021 12:22:21 +0800 Subject: [PATCH] Fix action dump_lines_with_attrs --- kitty/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/screen.c b/kitty/screen.c index fe942ff91..8b5012a8e 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -3716,7 +3716,7 @@ dump_lines_with_attrs(Screen *self, PyObject *accum) { Line *line = range_line_(self, y); t = PyUnicode_FromFormat("\x1b[31m%d: \x1b[39m", y++); if (t) { - PyObject_CallFunctionObjArgs(accum, t); + PyObject_CallFunctionObjArgs(accum, t, NULL); Py_DECREF(t); } switch (line->attrs.prompt_kind) {