about summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/command.c b/command.c
index ef82d30..4c290fc 100644
--- a/command.c
+++ b/command.c
@@ -373,8 +373,9 @@ static void commandQuery(uint id, char *params) {
 }
 
 static void commandWindow(uint id, char *params) {
-	if (!params) return;
-	if (isdigit(params[0])) {
+	if (!params) {
+		uiWindows();
+	} else if (isdigit(params[0])) {
 		uiShowNum(strtoul(params, NULL, 10));
 	} else {
 		id = idFind(params);