From 39535fa5038fbd49c842566e31c5a5f6f4d68243 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sun, 29 Nov 2020 11:30:54 +0100 Subject: [PATCH] src/dirn.c: clear "Stop" message once files have been copied --- src/dirn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dirn.c b/src/dirn.c index f535cc36..5b7d7a13 100644 --- a/src/dirn.c +++ b/src/dirn.c @@ -447,6 +447,8 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_ else copy_bad++; } + wmove(window,22,0); + wclrtoeol(window); copy_done(window, copy_ok, copy_bad, copy_stopped); } dir_data->current_directory[current_directory_namelength]='\0'; @@ -478,6 +480,8 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_ waddstr(window," Stop "); wattroff(window, A_REVERSE); copy_stopped=copy_selection(dir_list, window, disk, partition, dir_data, ©_ok, ©_bad); + wmove(window,22,0); + wclrtoeol(window); copy_done(window, copy_ok, copy_bad, copy_stopped); } }