curses: Fix seperator lines
when section above or below is collapsed
This commit is contained in:
parent
737c642819
commit
ed8528cf9c
@ -981,8 +981,10 @@ draw:
|
|||||||
*/
|
*/
|
||||||
NEXT_ROW();
|
NEXT_ROW();
|
||||||
hline(ACS_HLINE, cols);
|
hline(ACS_HLINE, cols);
|
||||||
mvaddch(row, LIST_COL_1, ACS_BTEE);
|
if (c_show_list) {
|
||||||
mvaddch(row, LIST_COL_2, ACS_BTEE);
|
mvaddch(row, LIST_COL_1, ACS_BTEE);
|
||||||
|
mvaddch(row, LIST_COL_2, ACS_BTEE);
|
||||||
|
}
|
||||||
|
|
||||||
if (!c_show_graph)
|
if (!c_show_graph)
|
||||||
center_text(" Press %c to enable graphical statistics ",
|
center_text(" Press %c to enable graphical statistics ",
|
||||||
@ -1024,6 +1026,12 @@ draw:
|
|||||||
NEXT_ROW();
|
NEXT_ROW();
|
||||||
hline(ACS_HLINE, cols);
|
hline(ACS_HLINE, cols);
|
||||||
|
|
||||||
|
if (c_show_details) {
|
||||||
|
int i;
|
||||||
|
for (i = 1; i < detail_cols; i++)
|
||||||
|
mvaddch(row, (i * DETAILS_COLS) - 1, ACS_BTEE);
|
||||||
|
}
|
||||||
|
|
||||||
if (!c_show_info)
|
if (!c_show_info)
|
||||||
center_text(" Press %c to enable additional information ",
|
center_text(" Press %c to enable additional information ",
|
||||||
KEY_TOGGLE_INFO);
|
KEY_TOGGLE_INFO);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user