diff options
author | James Booth <boothj5@gmail.com> | 2012-02-13 00:28:26 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-02-13 00:28:26 +0000 |
commit | da0fd22761a80e415a731bef92ab2149f4759c93 (patch) | |
tree | 51cb7ec8b51bd9016e60408b1e700e02c707bb1d /windows.c | |
parent | c5d68a64346e0cbbe9def4697b7998a9215cb0c6 (diff) | |
download | profani-tty-da0fd22761a80e415a731bef92ab2149f4759c93.tar.gz |
Fixed bug with console when closing chat window
Diffstat (limited to 'windows.c')
-rw-r--r-- | windows.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/windows.c b/windows.c index 55e3ca2a..b82b98b6 100644 --- a/windows.c +++ b/windows.c @@ -70,6 +70,7 @@ void win_close_win(void) status_bar_inactive(_curr_win); // go back to console window + _curr_win = 0; touchwin(_wins[0].win); wrefresh(_wins[0].win); @@ -201,19 +202,21 @@ void cons_help(void) wprintw(_wins[0].win, " [%s] Commands:\n", tstmp); wprintw(_wins[0].win, - " [%s] /help : This help.\n", tstmp); + " [%s] /help : This help.\n", tstmp); wprintw(_wins[0].win, - " [%s] /connect <username@host> : Login to jabber.\n", tstmp); + " [%s] /connect user@host : Login to jabber.\n", tstmp); wprintw(_wins[0].win, - " [%s] /who : Get roster.\n", tstmp); + " [%s] /who : Get roster.\n", tstmp); wprintw(_wins[0].win, - " [%s] /close : Close a chat window.\n", tstmp); + " [%s] /close : Close a chat window.\n", tstmp); wprintw(_wins[0].win, - " [%s] /quit : Quits Profanity.\n", tstmp); + " [%s] /msg user@host : Send a message to user.\n", tstmp); + wprintw(_wins[0].win, + " [%s] /quit : Quit Profanity.\n", tstmp); wprintw(_wins[0].win, " [%s] Shortcuts:\n", tstmp); wprintw(_wins[0].win, - " [%s] F1 : Console window.\n", tstmp); + " [%s] F1 : Console window.\n", tstmp); wprintw(_wins[0].win, " [%s] F2-10 : Chat windows.\n", tstmp); |