mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 06:16:22 +00:00
Added /help list to list all commands
This commit is contained in:
@@ -937,12 +937,14 @@ void
|
||||
cons_help(void)
|
||||
{
|
||||
cons_show("");
|
||||
cons_show("Choose an area you need help with:");
|
||||
cons_show("Choose a help option:");
|
||||
cons_show("");
|
||||
cons_show("/help basic - Basic commands, for connecting, chatting etc.");
|
||||
cons_show("/help status - How to change your status.");
|
||||
cons_show("/help settings - Commands for configuring Profanity.");
|
||||
cons_show("/help list - List all commands.");
|
||||
cons_show("/help basic - Summary of basic usgae commands.");
|
||||
cons_show("/help status - Summary of online status change commands.");
|
||||
cons_show("/help settings - Summary of commands for changing Profanity settings.");
|
||||
cons_show("/help navigation - How to navigate around Profanity.");
|
||||
cons_show("/help [command] - Detailed help on a specific command.");
|
||||
cons_show("");
|
||||
|
||||
if (_curr_prof_win == 0)
|
||||
@@ -1100,6 +1102,12 @@ cons_bad_show(const char * const msg, ...)
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_time(void)
|
||||
{
|
||||
_win_show_time(_cons_win);
|
||||
}
|
||||
|
||||
void
|
||||
cons_show(const char * const msg, ...)
|
||||
{
|
||||
@@ -1116,6 +1124,15 @@ cons_show(const char * const msg, ...)
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_word(const char * const word)
|
||||
{
|
||||
wprintw(_cons_win, "%s", word);
|
||||
|
||||
if (_curr_prof_win == 0)
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
cons_bad_command(const char * const cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user