mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 23:06:20 +00:00
Add /subject editor command
Allow editing the MUC subject using external editor. Use `/subject editor`. Fix https://github.com/profanity-im/profanity/issues/1638
This commit is contained in:
@@ -676,6 +676,7 @@ static struct cmd_t command_defs[] = {
|
||||
CMD_SYN(
|
||||
"/subject set <subject>",
|
||||
"/subject edit <subject>",
|
||||
"/subject editor",
|
||||
"/subject prepend <text>",
|
||||
"/subject append <text>",
|
||||
"/subject clear")
|
||||
@@ -684,6 +685,7 @@ static struct cmd_t command_defs[] = {
|
||||
CMD_ARGS(
|
||||
{ "set <subject>", "Set the room subject." },
|
||||
{ "edit <subject>", "Edit the current room subject, tab autocompletion will display the subject to edit." },
|
||||
{ "editor", "Edit the current room subject in external editor." },
|
||||
{ "prepend <text>", "Prepend text to the current room subject, use double quotes if a trailing space is needed." },
|
||||
{ "append <text>", "Append text to the current room subject, use double quotes if a preceding space is needed." },
|
||||
{ "clear", "Clear the room subject." })
|
||||
|
||||
Reference in New Issue
Block a user