summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-11-21 18:02:39 +0100
committerBenBE <BenBE@geshi.org>2020-12-03 22:41:31 +0100
commitbc91a382f6c899005463a007008d53c4e3e71be7 (patch)
treef064950ca2b5c4e365a1d3bdcd6eef930223fc69 /Panel.c
parentbda07fa42baf7157f416d8616d58342eee51cbd7 (diff)
Allow to pass '/' for item search
Diffstat (limited to 'Panel.c')
-rw-r--r--Panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Panel.c b/Panel.c
index 232477b7..21dfbe22 100644
--- a/Panel.c
+++ b/Panel.c
@@ -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) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy