From 05384c46e7e114a0678289aa3eff4e745b400337 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 30 Jun 2018 18:25:45 +0530 Subject: [PATCH] ... --- kitty/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/screen.c b/kitty/screen.c index 5ea900548..a0278ac5a 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -1674,7 +1674,7 @@ static PyObject* _select_graphic_rendition(Screen *self, PyObject *args) { unsigned int params[256] = {0}; for (int i = 0; i < PyTuple_GET_SIZE(args); i++) { params[i] = PyLong_AsUnsignedLong(PyTuple_GET_ITEM(args, i)); } - select_graphic_rendition(self, params, PyList_GET_SIZE(args), NULL); + select_graphic_rendition(self, params, PyTuple_GET_SIZE(args), NULL); Py_RETURN_NONE; }