summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-display.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-07-02 23:19:36 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-07-02 23:19:36 +0000
commitb9a40bbe218c536da07bef4c4f46277284d86537 (patch)
tree2e00b03737df0c57d4b8efe424401dd1bc9a3d02 /src/gui/curses/gui-display.c
parent062e5ea1aed8e37c717b15283adcba0e1a62c9b1 (diff)
downloadweechat-b9a40bbe218c536da07bef4c4f46277284d86537.zip
Buffers ordered by number, unique color for each nick, action messages now like messages (not crappy msgs), --enable-debug replaced by --with-debug for ./configure script
Diffstat (limited to 'src/gui/curses/gui-display.c')
-rw-r--r--src/gui/curses/gui-display.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index 5aadb6c38..e9ca77e21 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -840,11 +840,11 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase)
COLOR_WIN_STATUS);
}
if (SERVER(ptr_buffer)->is_connected)
- wprintw (ptr_win->win_status, "[%s] ",
- SERVER(ptr_buffer)->name);
+ wprintw (ptr_win->win_status, "%d:[%s] ",
+ ptr_buffer->number, SERVER(ptr_buffer)->name);
else
- wprintw (ptr_win->win_status, "(%s) ",
- SERVER(ptr_buffer)->name);
+ wprintw (ptr_win->win_status, "%d:(%s) ",
+ ptr_buffer->number, SERVER(ptr_buffer)->name);
}
if (SERVER(ptr_buffer) && CHANNEL(ptr_buffer))
{
@@ -880,7 +880,9 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase)
gui_window_set_color (ptr_win->win_status,
COLOR_WIN_STATUS);
}
- wprintw (ptr_win->win_status, "%s", CHANNEL(ptr_buffer)->name);
+ wprintw (ptr_win->win_status, "%d:%s",
+ ptr_buffer->number,
+ CHANNEL(ptr_buffer)->name);
if (ptr_win->buffer == CHANNEL(ptr_buffer)->buffer)
{
/* display channel modes */
@@ -914,7 +916,8 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase)
if (!SERVER(ptr_buffer))
{
gui_window_set_color (ptr_win->win_status, COLOR_WIN_STATUS);
- wprintw (ptr_win->win_status, _("[not connected] "));
+ wprintw (ptr_win->win_status, _("%d:[not connected] "),
+ ptr_buffer->number);
}
}