From d593ab27b6444ccc5765edbdefcb182c64181ebf Mon Sep 17 00:00:00 2001 From: Andrei E Date: Wed, 3 Nov 2021 14:22:21 +0000 Subject: [PATCH] Close clipboard file --- lib/menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/menu.c b/lib/menu.c index 86f7114..37a5b52 100644 --- a/lib/menu.c +++ b/lib/menu.c @@ -851,6 +851,7 @@ bm_menu_run_with_key(struct bm_menu *menu, enum bm_key key, uint32_t unicode) menu->cursor += bm_unicode_insert(&menu->filter, &menu->filter_size, menu->cursor, c, &width); menu->curses_cursor += width; } + pclose(clipboard); } break;