curses: Use RARROW to mark selected item
This commit is contained in:
parent
c3bc2069fe
commit
2c047d2af3
@ -599,7 +599,10 @@ static void draw_element(struct element_group *g, struct element *e,
|
|||||||
addch(' ');
|
addch(' ');
|
||||||
} else if (e == current_element) {
|
} else if (e == current_element) {
|
||||||
apply_layout(LAYOUT_SELECTED);
|
apply_layout(LAYOUT_SELECTED);
|
||||||
printw("->");
|
addch(' ');
|
||||||
|
attron(A_BOLD);
|
||||||
|
addch(ACS_RARROW);
|
||||||
|
attroff(A_BOLD);
|
||||||
apply_layout(LAYOUT_LIST);
|
apply_layout(LAYOUT_LIST);
|
||||||
} else if (*line == offset + list_length - 1 &&
|
} else if (*line == offset + list_length - 1 &&
|
||||||
*line < (list_req - 1)) {
|
*line < (list_req - 1)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user