summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-07-13 12:48:37 +0200
committerThomas Graf <tgraf@suug.ch>2013-07-13 12:48:37 +0200
commit2c047d2af35fa40b4ef916df2ea2753686e49358 (patch)
tree272d90aaa66ada1f178659810ea996006b984851
parentc3bc2069fe78a3548551f2c3d5fca584fd652d62 (diff)
curses: Use RARROW to mark selected item
-rw-r--r--src/out_curses.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/out_curses.c b/src/out_curses.c
index 602998c..5363fb8 100644
--- a/src/out_curses.c
+++ b/src/out_curses.c
@@ -599,7 +599,10 @@ static void draw_element(struct element_group *g, struct element *e,
addch(' ');
} else if (e == current_element) {
apply_layout(LAYOUT_SELECTED);
- printw("->");
+ addch(' ');
+ attron(A_BOLD);
+ addch(ACS_RARROW);
+ attroff(A_BOLD);
apply_layout(LAYOUT_LIST);
} else if (*line == offset + list_length - 1 &&
*line < (list_req - 1)) {