summaryrefslogtreecommitdiffstats
path: root/src/godmode.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/godmode.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/godmode.c')
-rw-r--r--src/godmode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/godmode.c b/src/godmode.c
index 1a46245..398e213 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -176,6 +176,7 @@ static int interface_part_bad_ncurses(disk_t *disk_car, list_part_t *list_part)
{
char buffer_part_size[100];
wattrset(stdscr, A_REVERSE);
+ waddstr(stdscr, ">");
aff_part(stdscr, AFF_PART_BASE, disk_car, parts->part);
wattroff(stdscr, A_REVERSE);
wmove(stdscr,23,0);
@@ -187,6 +188,7 @@ static int interface_part_bad_ncurses(disk_t *disk_car, list_part_t *list_part)
wprintw(stdscr,"%s",size_to_unit(parts->part->part_size,buffer_part_size));
} else
{
+ waddstr(stdscr, " ");
aff_part(stdscr, AFF_PART_BASE, disk_car, parts->part);
}
}