mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Allow to pass '/' for item search
This commit is contained in:
2
Panel.c
2
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) {
|
||||
|
Reference in New Issue
Block a user