summaryrefslogtreecommitdiffstats
path: root/src/dirn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-03-10 16:22:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-03-10 16:22:52 +0100
commit7129c28c12bdb416725a906c425c1ec2d43df6a9 (patch)
tree0cc67d98dc42d2769062471fac6b059943ac2a00 /src/dirn.c
parente42575be3aca84626dae95750e81edbeb78065b2 (diff)
Use Ctrl+L to redraw the screen when listing files
Diffstat (limited to 'src/dirn.c')
-rw-r--r--src/dirn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dirn.c b/src/dirn.c
index 0f458eb..cfca347 100644
--- a/src/dirn.c
+++ b/src/dirn.c
@@ -244,6 +244,11 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_
else if((dir_data->capabilities&CAPA_LIST_ADS)!=0)
dir_data->param^=FLAG_LIST_ADS;
return inode;
+ case 0x0c: /* ctrl+L */
+ touchwin(stdscr);
+ touchwin(window);
+ wrefresh(window);
+ break;
}
if(dir_list!=NULL)
{