Add toggle file details to help

This commit is contained in:
Piotr Marendowski 2024-03-28 19:10:59 +01:00
parent 95fd5fb964
commit 62ab2f88aa
2 changed files with 3 additions and 1 deletions

View file

@ -73,6 +73,8 @@ t: go to trash dir
-: go to previous dir -: go to previous dir
z: refresh current dir z: refresh current dir
i: toggle file details
A: show directory disk usage/block size A: show directory disk usage/block size
space: mark file space: mark file
a: mark all files in directory a: mark all files in directory

2
ccc.c
View file

@ -344,7 +344,7 @@ void show_help()
{ {
wclear(directory_content); wclear(directory_content);
wclear(preview_content); wclear(preview_content);
wprintw(directory_content,"h: go to parent dir\nj: scroll down\nk: scroll up\nl: go to child dir\n\nleft: go to parent dir\ndown: scroll down\nup: scroll up\nright: go to child dir\n\nenter: go to child dir/open file\nbackspace: go to parent dir\n\ngg: go to top\nG: go to bottom\n\nctrl+u: jump up\nctrl+d: jump down\n\nt: go to trash dir\n~: go to home dir\n-: go to previous dir\nz: refresh current dir\n\nA: show directory disk usage/block size\nspace: mark file\na: mark all files in directory\n\n?: show help\nq: exit with last dir written to file\nctrl+c exit without writing last dir"); wprintw(directory_content,"h: go to parent dir\nj: scroll down\nk: scroll up\nl: go to child dir\n\nleft: go to parent dir\ndown: scroll down\nup: scroll up\nright: go to child dir\n\nenter: go to child dir/open file\nbackspace: go to parent dir\n\ngg: go to top\nG: go to bottom\n\nctrl+u: jump up\nctrl+d: jump down\n\nt: go to trash dir\n~: go to home dir\n-: go to previous dir\nz: refresh current dir\n\ni: toggle file details\n\nA: show directory disk usage/block size\nspace: mark file\na: mark all files in directory\n\n?: show help\nq: exit with last dir written to file\nctrl+c exit without writing last dir");
wpprintw("Visit https://github.com/piotr-marendowski/ccc or use 'man ccc' for help"); wpprintw("Visit https://github.com/piotr-marendowski/ccc or use 'man ccc' for help");
wrefresh(directory_content); wrefresh(directory_content);
wrefresh(preview_content); wrefresh(preview_content);