mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
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:
parent
9bf99c0aa6
commit
091292e079
9 changed files with 143 additions and 130 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue