mapper: selections can do shortcut keys

This commit is contained in:
Enno Rehling 2005-12-31 13:29:22 +00:00
parent d0d03c08af
commit 104b64124f

View file

@ -372,6 +372,16 @@ do_selection(selection * sel, const char * title, void (*perform)(selection *, v
return current;
}
break;
default:
s = current->next;
while (s!=current) {
if (tolower(s->str[0])==tolower(input)) {
current = s;
update = true;
} else {
s = s->next;
}
}
}
}
}