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
commit 49d284cd16
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

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