Start command validation

This commit is contained in:
James Booth
2012-02-18 22:51:08 +00:00
parent 809daa9395
commit 18c97a431a
7 changed files with 83 additions and 17 deletions

View File

@@ -220,6 +220,15 @@ void cons_bad_command(char *cmd)
wprintw(_wins[0].win, " [%s] Unknown command: %s\n", tstmp, cmd);
}
void cons_bad_connect(void)
{
char tstmp[80];
get_time(tstmp);
wprintw(_wins[0].win,
" [%s] Usage: /connect user@host\n", tstmp);
}
static void _create_windows(void)
{
int rows, cols;