From 3ac70042c1bbe331b43ea05f809c40566d8a3c50 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Jan 2021 14:19:10 +0530 Subject: [PATCH] Expose grman disk cache to python --- kitty/graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/graphics.c b/kitty/graphics.c index 1991fe50e..5d8cf2699 100644 --- a/kitty/graphics.c +++ b/kitty/graphics.c @@ -1049,6 +1049,7 @@ static PyMethodDef methods[] = { static PyMemberDef members[] = { {"image_count", T_PYSSIZET, offsetof(GraphicsManager, image_count), 0, "image_count"}, + {"disk_cache", T_OBJECT_EX, offsetof(GraphicsManager, disk_cache), READONLY, "disk_cache"}, {NULL}, };