}
if (strcmp(ci->key, "Message:modal") == 0) {
free(mli->modal);
- mli->modal = strdup(ci->str);
+ if (ci->str[0])
+ mli->modal = strdup(ci->str);
+ else
+ mli->modal = NULL;
} else {
free(mli->message);
- mli->message = strdup(ci->str);
+ if (ci->str[0])
+ mli->message = strdup(ci->str);
+ else
+ mli->message = NULL;
/* x==0 check ensures we only append message once when
* it comes in via a broadcast notification
*/
- if (ci->x == 0 && mli->log)
+ if (ci->x == 0 && mli->log && ci->str[0])
call("doc:log:append", mli->log,
0, NULL, ci->str);
}
Key ":Down"
Display 80,30 BFEDE38C97802B694CAC529C933B95EB 14,2
Key ":A:Backspace"
-Display 80,30 6B3275E04C77584F9E1C909E7902D822 5,2
+Display 80,30 00A42957F180C50266C8875DC86B8B53 5,2
Key "-d"
Display 80,30 4D1EEFD308CCFB4E88474E265CE5B975 6,2
Key "-i"
Key ":Left"
Display 80,30 6CD98BAF00C0148D9C5A8403AB6A0F53 19,2
Key ":Enter"
-Display 80,30 558431EA4E0EC2686B5C4D2EED2078AC 1,3
+Display 80,30 015974AB421009735E6657A44B68B77E 1,3
Key ":C-U"
Display 80,30 4B1C47234051213271FED14393477B35 1,3
Key ":C-X"
Display 80,30 84F4B35BF26F9D5EEBB67D572ADD0BBF 1,0
Key ":C-C"
Display 80,30 4790F2887DC559E9927F4059D9F4365D 1,0
-Close 1531
+Close 1530