mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Update nTox.c
Added help command to nTox.c
This commit is contained in:
parent
c10d2317ca
commit
915ffaa888
|
@ -151,6 +151,12 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
|
|||
do_refresh();
|
||||
|
||||
}
|
||||
|
||||
else if (line[1] == 'h') { //help
|
||||
new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)");
|
||||
new_lines("[i] /l list (list friends), /h for help, /n nick (to change nickname), /q (to quit)");
|
||||
}
|
||||
|
||||
else if (line[1] == 'q') { //exit
|
||||
endwin();
|
||||
exit(EXIT_SUCCESS);
|
||||
|
|
Loading…
Reference in New Issue
Block a user