about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 4f22a24..1b0bc04 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -7952,7 +7952,7 @@ cmd_getlist(int id, char *key)
 		if (cmds[i].level < dep)
 			break;
 		if (cmds[i].level == dep && !strncmp(key, cmds[i].cmd,
-		    strlen(key)))
+		    strlen(key)) && !isdigit(cmds[i].cmd[0]))
 			cmd_status.list[c++] = cmds[i].cmd;
 
 	}