about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-07 06:28:24 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-07 06:28:24 -0800
commit51d6ae77d28b4a90019f448d14a62a77f7e820cc (patch)
tree044b92ec66983526ed2ad021ec97f41b7fb0bd9b
parentd79c83f2094e2c3cc06a6c91ff4607d136b6452a (diff)
downloadteliva-51d6ae77d28b4a90019f448d14a62a77f7e820cc.tar.gz
fix a regression in commit ee85ad384f17
-rw-r--r--src/lcurseslib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lcurseslib.c b/src/lcurseslib.c
index 8533c34..a73bca8 100644
--- a/src/lcurseslib.c
+++ b/src/lcurseslib.c
@@ -49,6 +49,7 @@ void draw_menu (lua_State *L) {
   int table = lua_gettop(L);
   if (!lua_istable(L, -1)) {
     lua_pop(L, 1);
+    attroff(A_BOLD);
     return;
   }
   for (lua_pushnil(L); lua_next(L, table) != 0; lua_pop(L, 1))