# HG changeset patch # User Josef 'Jeff' Sipek # Date 1737662697 18000 # Thu Jan 23 15:04:57 2025 -0500 # Node ID 1147414ae8468c483134a5ac028365630c54fb55 # Parent ea042b399c548487d762d9bc6e64a7d3f2f7f09d contest: log ncurses start & key press trace messages Signed-off-by: Josef 'Jeff' Sipek diff --git a/hlog/contest/ui.c b/hlog/contest/ui.c --- a/hlog/contest/ui.c +++ b/hlog/contest/ui.c @@ -768,6 +768,8 @@ return ret; } + msg_trace("starting ncurses contest ui"); + msg_start(); VERIFY0(xscreen_init(&screen, palette, ARRAY_LEN(palette))); @@ -789,6 +791,11 @@ set_rig_info(); /* do this here so lua calls below can use it */ if (ch != ERR) { + if (isprint(ch)) + msg_trace("xform char '%c' (%#x)", ch, ch); + else + msg_trace("xform char %d (%#x)", ch, ch); + status_display_error(""); /* clear the error string */ msg_print(MSG_SYS, CE_DEBUG, "ch=%d %x", ch, ch);