-
-
Save gahr/85ec74f4c26699bd07f1a3ef5b1ec18c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static int handle_changes(struct IndexSharedData *shared, | |
| struct IndexPrivateData *priv) | |
| { | |
| menu_queue_redraw(priv->menu, MENU_REDRAW_STATUS); | |
| const bool c_resolve = cs_subset_bool(shared->sub, "resolve"); | |
| if (!priv->tag && c_resolve) | |
| { | |
| const int index = ci_next_undeleted(shared->mailbox, menu_get_index(priv->menu)); | |
| if (index != -1) | |
| { | |
| menu_set_index(priv->menu, index); | |
| if (priv->in_pager) | |
| { | |
| return IR_CONTINUE; | |
| } | |
| } | |
| } | |
| menu_queue_redraw(priv->menu, priv->tag ? MENU_REDRAW_INDEX : MENU_REDRAW_CURRENT); | |
| return IR_SUCCESS; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment