go to next item after selection in multiselect

This commit is contained in:
Alexander Bocken 2021-01-02 17:11:40 +01:00
parent e69ff48261
commit 454604e03c
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -510,6 +510,10 @@ insert:
cleanup(); cleanup();
exit(0); exit(0);
} }
if (sel && sel->right && (sel = sel->right) == next) {
curr = next;
calcoffsets();
}
break; break;
case XK_Right: case XK_Right:
if (text[cursor] != '\0') { if (text[cursor] != '\0') {