Allow to pass '/' for item search

This commit is contained in:
Benny Baumann
2020-11-21 18:02:39 +01:00
committed by BenBE
parent bda07fa42b
commit bc91a382f6
4 changed files with 4 additions and 4 deletions

View File

@ -430,7 +430,7 @@ HandlerResult Panel_selectByTyping(Panel* this, int ch) {
this->eventHandlerState = xCalloc(100, sizeof(char));
char* buffer = this->eventHandlerState;
if (0 < ch && ch < 255 && isalnum((unsigned char)ch)) {
if (0 < ch && ch < 255 && isgraph((unsigned char)ch)) {
int len = strlen(buffer);
if (!len) {
if ('/' == ch) {