diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-07-13 12:48:37 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-07-13 12:48:37 +0200 |
commit | 2c047d2af35fa40b4ef916df2ea2753686e49358 (patch) | |
tree | 272d90aaa66ada1f178659810ea996006b984851 | |
parent | c3bc2069fe78a3548551f2c3d5fca584fd652d62 (diff) |
curses: Use RARROW to mark selected item
-rw-r--r-- | src/out_curses.c | 5 |
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)) { |