diff --git a/src/demo/hud.c b/src/demo/hud.c index 1200d0dae..f7bfccadb 100644 --- a/src/demo/hud.c +++ b/src/demo/hud.c @@ -252,6 +252,9 @@ bool menu_or_hud_key(struct notcurses *nc, const struct ncinput *ni){ }else{ memcpy(&tmpni, ni, sizeof(tmpni)); } + if(tmpni.evtype == NCTYPE_RELEASE){ + return false; + } // toggle the HUD if(tmpni.id == 'H' && !tmpni.alt && !tmpni.ctrl){ hud_toggle(nc);