diff options
author | James Booth <boothj5@gmail.com> | 2012-08-16 21:48:20 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-08-16 21:48:20 +0100 |
commit | 380561a79f8a32f4f543c8aa9d7f573540f85a05 (patch) | |
tree | fb38baad82a167d91ab1177eda179d4094bfe4dd /src | |
parent | d9c47c9b0d0b8bd75ab9458d381f2f73e682c9b8 (diff) | |
download | profani-tty-380561a79f8a32f4f543c8aa9d7f573540f85a05.tar.gz |
Removed typing notification when not in chat win
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/windows.c b/src/windows.c index bcea4a93..c1bbea3f 100644 --- a/src/windows.c +++ b/src/windows.c @@ -65,7 +65,6 @@ static void _current_window_refresh(void); static void _win_switch_if_active(const int i); static void _win_show_time(WINDOW *win); static void _win_show_user(WINDOW *win, const char * const user, const int colour); -static void _win_show_typing(WINDOW *win, const char * const short_from); static void _win_show_message(WINDOW *win, const char * const message); static void _show_status_string(WINDOW *win, const char * const from, const char * const show, const char * const status, const char * const pre, @@ -199,9 +198,6 @@ win_show_typing(const char * const from) // have chat window but not currently in it } else if (win_index != _curr_prof_win) { - WINDOW *win = _wins[win_index].win; - _win_show_time(win); - _win_show_typing(win, short_from); _cons_show_typing(short_from); status_bar_new(win_index); dirty = TRUE; @@ -742,12 +738,6 @@ _win_show_user(WINDOW *win, const char * const user, const int colour) } static void -_win_show_typing(WINDOW *win, const char * const short_from) -{ - wprintw(win, "%s is typing...\n", short_from); -} - -static void _win_show_message(WINDOW *win, const char * const message) { wprintw(win, "%s\n", message); |