summaryrefslogtreecommitdiffstats
path: root/src/adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-05-21 08:47:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-05-21 08:47:38 +0200
commit1041c240cd39711ca664386740e7cfb699819cb7 (patch)
tree4700efa276e48a3a725af5c2e5a6393221bdabce /src/adv.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/adv.c')
-rw-r--r--src/adv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/adv.c b/src/adv.c
index 60b5d7a..7921be3 100644
--- a/src/adv.c
+++ b/src/adv.c
@@ -236,10 +236,12 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
if(element==current_element)
{
wattrset(stdscr, A_REVERSE);
+ waddstr(stdscr, ">");
aff_part(stdscr,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,element->part);
wattroff(stdscr, A_REVERSE);
} else
{
+ waddstr(stdscr, " ");
aff_part(stdscr,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,element->part);
}
}