aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-31 14:29:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-31 14:48:49 +0000
commit90ad3d6491670ecc38aa5dcf02b9e1dc626bbf51 (patch)
tree4c25b618d61b2b8079a453cb04eba686ac2408a2 /vt.c
parentconfig: remove deprecated option 'utempter' (diff)
render: OSD: center text vertically
Rewrite render_osd(), and instead of passing in an y-offset, let render_osd() itself center the text inside the OSD buffer. This is done using the same baseline calculation term_font_baseline() does, except we use the buffer height instead of the line height. Note that most OSDs are sized based on the line height... Closes #1430
Diffstat (limited to 'vt.c')
0 files changed, 0 insertions, 0 deletions