From e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:30 +0200 Subject: Imported Upstream version 1.0.1 --- ColumnsPanel.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'ColumnsPanel.c') diff --git a/ColumnsPanel.c b/ColumnsPanel.c index 5c63074..d6b442a 100644 --- a/ColumnsPanel.c +++ b/ColumnsPanel.c @@ -1,14 +1,22 @@ +/* +htop - ColumnsPanel.c +(C) 2004-2011 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ #include "ColumnsPanel.h" -#include "Panel.h" -#include "Settings.h" -#include "ScreenManager.h" +#include "String.h" -#include "debug.h" #include +#include +#include /*{ +#include "Panel.h" +#include "Settings.h" +#include "ScreenManager.h" typedef struct ColumnsPanel_ { Panel super; @@ -62,7 +70,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; -- cgit v1.2.3