From e2339697b9876072eb05f5c17b6bcb6db6daff0f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 19 Mar 2020 17:22:58 +0530 Subject: [PATCH] Fix #2449 --- kitty/graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/graphics.c b/kitty/graphics.c index 310ade96f..115376255 100644 --- a/kitty/graphics.c +++ b/kitty/graphics.c @@ -789,6 +789,7 @@ handle_delete_command(GraphicsManager *self, const GraphicsCommand *g, Cursor *c #undef D #undef I } + if (!self->image_count && self->count) self->count = 0; } // }}}