History

Cleanup

cancel committed 6 years ago

Commit 691ec7d1 parent 1328b591 file · +2 −4Browse files

Unified · Split

term_util.c+2−4
@@ -126,10 +126,8 @@ Qblock *qnav_top_block() { · 125 unmodified lines
126}126}
127 127
128void qblock_init(Qblock *qb, Qblock_type_tag tag) {128void qblock_init(Qblock *qb, Qblock_type_tag tag) {
129 *qb = (Qblock){0};
129 qb->tag = tag;130 qb->tag = tag;
130 qb->outer_window = NULL;
131 qb->content_window = NULL;
132 qb->title = NULL;
133}131}
134 132
135void qmenu_free(Qmenu *qm);133void qmenu_free(Qmenu *qm);
@@ -275,7 +273,7 @@ Qmsg *qmsg_printf_push(char const *title, char const *fmt, ...) { · 139 unmodified lines
275}273}
276 274
277bool qmsg_drive(Qmsg *qm, int key, Qmsg_action *out_action) {275bool qmsg_drive(Qmsg *qm, int key, Qmsg_action *out_action) {
278 memset(out_action, 0, sizeof(Qmsg_action));276 *out_action = (Qmsg_action){0};
279 Qmsg_dismiss_mode dm = qm->dismiss_mode;277 Qmsg_dismiss_mode dm = qm->dismiss_mode;
280 switch (dm) {278 switch (dm) {
281 case Qmsg_dismiss_mode_explicitly:279 case Qmsg_dismiss_mode_explicitly:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t