summaryrefslogtreecommitdiffstats
path: root/src/intrface.c
diff options
context:
space:
mode:
authorChristophe Grenier <[email protected]>2010-05-21 08:47:38 +0200
committerChristophe Grenier <[email protected]>2010-05-21 08:47:38 +0200
commit1041c240cd39711ca664386740e7cfb699819cb7 (patch)
tree4700efa276e48a3a725af5c2e5a6393221bdabce /src/intrface.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/intrface.c')
-rw-r--r--src/intrface.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/intrface.c b/src/intrface.c
index a41f3bcd..b0312c1f 100644
--- a/src/intrface.c
+++ b/src/intrface.c
@@ -132,11 +132,13 @@ static list_part_t *ask_structure_ncurses(disk_t *disk_car,list_part_t *list_par
wmove(stdscr,6+i-offset,0);
wclrtoeol(stdscr); /* before addstr for BSD compatibility */
if(parts==pos)
- {
wattrset(stdscr, A_REVERSE);
- }
if(structure_status==0 && parts->part->status!=STATUS_DELETED && has_colors())
wbkgdset(stdscr,' ' | COLOR_PAIR(2));
+ if(parts==pos)
+ waddstr(stdscr, ">");
+ else
+ waddstr(stdscr, " ");
aff_part(stdscr, AFF_PART_STATUS, disk_car, parts->part);
if(structure_status==0 && parts->part->status!=STATUS_DELETED && has_colors())
wbkgdset(stdscr,' ' | COLOR_PAIR(0));