diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-07-14 07:04:45 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-07-14 07:04:45 +0000 |
commit | a9912cd2664287998bc80aef6c092d6ed49d40eb (patch) | |
tree | c33ff07bfaf7f12ed95c73cd7592e640c1ff79f9 /src/gui/curses/gui-display.c | |
parent | 1d07964d1735cbe0b997444c05670f3858bafd94 (diff) | |
download | weechat-a9912cd2664287998bc80aef6c092d6ed49d40eb.zip |
- fixed SIGSEGV handler (now write a core file by aborting program)
- fixed statusbar & infobar background refresh problem with some systems
Diffstat (limited to 'src/gui/curses/gui-display.c')
-rw-r--r-- | src/gui/curses/gui-display.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index 9d8b54bb9..7a215a478 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -1082,11 +1082,14 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase) for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window) { + if (has_colors ()) + wbkgdset(ptr_win->win_status, ' ' | COLOR_PAIR (COLOR_WIN_STATUS)); + if (erase) gui_curses_window_clear (ptr_win->win_status); gui_window_set_color (ptr_win->win_status, COLOR_WIN_STATUS); - wborder (ptr_win->win_status, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '); + /* wborder (ptr_win->win_status, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '); */ wmove (ptr_win->win_status, 0, 0); /* display number of buffers */ @@ -1407,15 +1410,14 @@ gui_draw_buffer_infobar (t_gui_buffer *buffer, int erase) for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window) { + if (has_colors ()) + wbkgdset(ptr_win->win_infobar, ' ' | COLOR_PAIR (COLOR_WIN_INFOBAR)); + if (erase) gui_curses_window_clear (ptr_win->win_infobar); - if (has_colors ()) - { - gui_window_set_color (ptr_win->win_infobar, COLOR_WIN_INFOBAR); - wborder (ptr_win->win_infobar, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '); - wnoutrefresh (ptr_win->win_infobar); - } + gui_window_set_color (ptr_win->win_infobar, COLOR_WIN_INFOBAR); + /* wborder (ptr_win->win_infobar, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '); */ wmove (ptr_win->win_infobar, 0, 0); time_seconds = time (NULL); |