summaryrefslogtreecommitdiffstats
path: root/src/dirn.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/dirn.c
parent969996230f5c3843b0e3f4098b09bce5d69b9837 (diff)
Prefix highligted selection by ">", so screen reader software find the
interface less confusing.
Diffstat (limited to 'src/dirn.c')
-rw-r--r--src/dirn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dirn.c b/src/dirn.c
index b2683c7..2d47179 100644
--- a/src/dirn.c
+++ b/src/dirn.c
@@ -86,7 +86,12 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_
wmove(window, 6+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->status&FILE_STATUS_DELETED)!=0 && has_colors())
wbkgdset(window,' ' | COLOR_PAIR(1));
if(current_file->stat.st_mtime!=0)
@@ -356,6 +361,7 @@ static int dir_partition_aux(disk_t *disk, const partition_t *partition, dir_dat
dir_aff_log(dir_data, dir_list);
if(*current_cmd!=NULL)
{
+ /* TODO: handle copy_files */
dir_data->current_directory[current_directory_namelength]='\0';
delete_list_file(dir_list);
return -1; /* Quit */