summaryrefslogtreecommitdiffstats
path: root/src/fat_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/fat_adv.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/fat_adv.c')
-rw-r--r--src/fat_adv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fat_adv.c b/src/fat_adv.c
index 5a48722..b7b2c6c 100644
--- a/src/fat_adv.c
+++ b/src/fat_adv.c
@@ -209,7 +209,12 @@ static int ask_root_directory(disk_t *disk_car, const partition_t *partition, co
wmove(window,8+i-offset,0);
wclrtoeol(window); /* before addstr for BSD compatibility */
if(current_file==pos)
+ {
wattrset(window, A_REVERSE);
+ waddstr(window, ">");
+ }
+ else
+ waddstr(window, " ");
if(current_file->stat.st_mtime!=0)
{
tm_p = localtime(&current_file->stat.st_mtime);