diff options
author | James Booth <boothj5@gmail.com> | 2016-09-19 23:40:45 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-09-19 23:40:45 +0100 |
commit | 0aa758cbfb0ec50b3d2eb6024515442882cdf63c (patch) | |
tree | 1ae80b6e29b9b99f828f910dddc912bbb3e10bf8 /src/command/cmd_defs.c | |
parent | c4d3f19d94e94bb08136e9ecc95ccdad0c76a81d (diff) | |
download | profani-tty-0aa758cbfb0ec50b3d2eb6024515442882cdf63c.tar.gz |
Add /inputwin top|bottom command
closes #853
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r-- | src/command/cmd_defs.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index c98b9bf3..ffc9e901 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1302,6 +1302,23 @@ static struct cmd_t command_defs[] = CMD_NOEXAMPLES }, + { "/inputwin", + parse_args, 1, 1, &cons_inputwin_setting, + CMD_NOSUBFUNCS + CMD_MAINFUNC(cmd_inputwin) + CMD_TAGS( + CMD_TAG_UI) + CMD_SYN( + "/inputwin top", + "/inputwin bottom") + CMD_DESC( + "Where to display the input window.") + CMD_ARGS( + { "top", "Show the input window at the top of the screen." }, + { "bottom", "Show the input window at the bottom of the screen." }) + CMD_NOEXAMPLES + }, + { "/notify", parse_args_with_freetext, 0, 4, NULL, CMD_NOSUBFUNCS |