diff options
-rw-r--r-- | AvailableColumnsPanel.c | 3 | ||||
-rw-r--r-- | ColumnsPanel.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/AvailableColumnsPanel.c b/AvailableColumnsPanel.c index c0b6af14..5ed9ffcf 100644 --- a/AvailableColumnsPanel.c +++ b/AvailableColumnsPanel.c @@ -48,7 +48,8 @@ static HandlerResult AvailableColumnsPanel_eventHandler(Panel* super, int ch) { } default: { - result = Panel_selectByTyping(super, ch); + if (isalpha(ch)) + result = Panel_selectByTyping(super, ch); break; } } diff --git a/ColumnsPanel.c b/ColumnsPanel.c index 5c630749..e1a75587 100644 --- a/ColumnsPanel.c +++ b/ColumnsPanel.c @@ -62,7 +62,8 @@ static HandlerResult ColumnsPanel_eventHandler(Panel* super, int ch) { } default: { - result = Panel_selectByTyping(super, ch); + if (isalpha(ch)) + result = Panel_selectByTyping(super, ch); if (result == BREAK_LOOP) result = IGNORED; break; |