summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
authorchris <>2002-11-04 15:39:28 +0000
committerchris <>2002-11-04 15:39:28 +0000
commitfad17b4d2bf236d45e3851ec3a9ef0dcf18e122b (patch)
tree8db8a1bde46a7e5e9935471e1e179859f9f25c98 /ui.c
parentb27214e64109e13f934a3f58e6aa1e46ee706d58 (diff)
downloadiftop-fad17b4d2bf236d45e3851ec3a9ef0dcf18e122b.zip
""
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 3854026..6153033 100644
--- a/ui.c
+++ b/ui.c
@@ -877,7 +877,7 @@ void ui_loop() {
case '!': {
char *s;
dontshowdisplay = 1;
- if ((s = edline(0, "Command", ""))) {
+ if ((s = edline(0, "Command", "")) && s[strspn(s, " \t")]) {
int i, dowait = 0;
erase();
refresh();