stats.lua: fix text size/alignment for key bindings page

After a subject line, the text style needs to be reset to make
sure that key binding lines have correct size and alignment
while scrolling the page.
This commit is contained in:
nanahi authored and Kacper Michajłow committed 2024-09-05 14:06:05 +02:00
1 parent ecc6cddef0
commit f02b8bc9fd
1 file changed
+1 -1
+1 -1
View File
@@ -517,7 +517,7 @@ local function get_kbinfo_lines()
local spre = term and kspaces .. " "
or format("{\\q2\\fn%s}%s {\\fn%s}{\\fs%d\\u1}",
o.font_mono, kspaces, o.font, 1.3*font_size)
local spost = term and "" or format("{\\u0\\fs%d}", font_size)
local spost = term and "" or format("{\\u0\\fs%d}%s", font_size, text_style())
-- create the display lines
local info_lines = {}