Mainwindows use now real curses WINDOWs, this should fix irssi with some

curseses that didn't like setscrreg() (solaris 8).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-26 23:29:34 +00:00 committed by cras
commit 091292e079
9 changed files with 143 additions and 130 deletions

View file

@ -119,9 +119,9 @@ void statusbar_redraw(STATUSBAR_REC *bar)
return;
}
set_bg(settings_get_int("statusbar_background") << 4);
set_bg(stdscr, settings_get_int("statusbar_background") << 4);
move(bar->ypos, 0); clrtoeol();
set_bg(0);
set_bg(stdscr, 0);
statusbar_redraw_line(bar);
}
@ -160,9 +160,9 @@ STATUSBAR_REC *statusbar_create(int pos, int ypos)
rec->line -= sbar_lowest;
}
set_bg(settings_get_int("statusbar_background") << 4);
set_bg(stdscr, settings_get_int("statusbar_background") << 4);
move(rec->ypos, 0); clrtoeol();
set_bg(0);
set_bg(stdscr, 0);
return rec;
}