6 #include "../../util/debug.h"
7 #include "../helpline.h"
9 #include "../libslang.h"
11 static void tui_helpline__pop(
void)
15 static void tui_helpline__push(
const char *
msg)
19 SLsmg_gotorc(SLtt_Screen_Rows - 1, 0);
21 SLsmg_write_nstring((
char *)msg, SLtt_Screen_Cols);
27 .pop = tui_helpline__pop,
28 .push = tui_helpline__push,
45 ret =
vscnprintf(ui_helpline__last_msg + backlog,
46 sizeof(ui_helpline__last_msg) - backlog, format, ap);
49 if (ui_helpline__last_msg[backlog - 1] ==
'\n') {