Merge branch 'fix-dbg-dump-lines' of https://github.com/page-down/kitty

This commit is contained in:
Kovid Goyal
2021-12-10 10:32:54 +05:30

View File

@@ -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) {