about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-25 00:22:51 +0100
committerJames Booth <boothj5@gmail.com>2016-05-25 00:22:51 +0100
commit1d5cc3327961739ac84ca3b9d66fc532bc6773b0 (patch)
tree262a43107ea5fa8ce89bf6cf5d2e25db47f6f49d /src/command
parent1a3f8d1be84fd35519fa6709af5bb763d650e15c (diff)
parent94212cd01ca87e26a06af4dfbc7b48087c1ef79c (diff)
downloadprofani-tty-1d5cc3327961739ac84ca3b9d66fc532bc6773b0.tar.gz
Merge branch 'master' into complete-empty
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_defs.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 415dc7fc..a979dbd6 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -915,24 +915,27 @@ static struct cmd_t command_defs[] =
             "/win <nick>",
             "/win <roomjid>",
             "/win <roomoccupantjid>",
-            "/win xmlconsole")
+            "/win xmlconsole",
+            "/win <plugin>")
         CMD_DESC(
             "Move to the specified window.")
         CMD_ARGS(
-            { "console",            "Go to the Console window." },
-            { "<num>",              "Go to specified window number." },
-            { "<barejid>",          "Go to chat window with contact by JID if open." },
-            { "<nick>",             "Go to chat window with contact by nickname if open." },
-            { "<roomjid>",          "Go to chat room window with roomjid if open." },
-            { "<roomoccupantjid>",  "Go to private chat roomoccupantjid if open." },
-            { "xmlconsole",         "Go to the XML Console window if open." })
+            { "console",            "Focus the Console window." },
+            { "<num>",              "Focus specified window number." },
+            { "<barejid>",          "Focus chat window with contact by JID if open." },
+            { "<nick>",             "Focus chat window with contact by nickname if open." },
+            { "<roomjid>",          "Focus chat room window with roomjid if open." },
+            { "<roomoccupantjid>",  "Focus private chat roomoccupantjid if open." },
+            { "xmlconsole",         "Focus the XML Console window if open." },
+            { "<plugin>",           "Focus the plugin window."})
         CMD_EXAMPLES(
             "/win console",
             "/win 4",
             "/win friend@chat.org",
             "/win Eddie",
             "/win bigroom@conference.chat.org",
-            "/win bigroom@conference.chat.org/bruce")
+            "/win bigroom@conference.chat.org/bruce",
+            "/win wikipedia")
     },
 
     { "/wins",