From 1a2b58ca52ae6adf47c876fd59c02998b5d234f1 Mon Sep 17 00:00:00 2001 From: Winston Weinert Date: Sat, 22 Aug 2020 20:21:29 -0500 Subject: [PATCH] Ensure last entry in keymap popup is displayed The downside is there appears to be a blank line at the bottom of the keymap popup. If there is another way to ensure the last line is included in the popup without adding a blank line, that solution would be ideal. --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 06518af..ccd2871 100644 --- a/init.lua +++ b/init.lua @@ -109,6 +109,7 @@ local function show_box(s, map, name) end end + label = label .. '\n' -- Ensure last entry is displayed. txt:set_markup(label) local x, y = txt:get_preferred_size(s)