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.
Showing the changes to player/lua/stats.lua (1 of 1 file). Show all
Unified · Split
| @@ -517,7 +517,7 @@ local function get_kbinfo_lines() · 516 unmodified lines | ||
| 517 | 517 | local spre = term and kspaces .. " " |
| 518 | 518 | or format("{\\q2\\fn%s}%s {\\fn%s}{\\fs%d\\u1}", |
| 519 | 519 | o.font_mono, kspaces, o.font, 1.3*font_size) |
| 520 | − local spost = term and "" or format("{\\u0\\fs%d}", font_size) | |
| 520 | + local spost = term and "" or format("{\\u0\\fs%d}%s", font_size, text_style()) | |
| 521 | 521 | |
| 522 | 522 | -- create the display lines |
| 523 | 523 | local info_lines = {} |