From 62ab2f88aab6250c33d4b24ee3d64f4718027710 Mon Sep 17 00:00:00 2001 From: Piotr Marendowski Date: Thu, 28 Mar 2024 19:10:59 +0100 Subject: [PATCH] Add toggle file details to help --- README.md | 2 ++ ccc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ecd57b..6c963e8 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ t: go to trash dir -: go to previous dir z: refresh current dir +i: toggle file details + A: show directory disk usage/block size space: mark file a: mark all files in directory diff --git a/ccc.c b/ccc.c index cc8bf58..b4de158 100644 --- a/ccc.c +++ b/ccc.c @@ -344,7 +344,7 @@ void show_help() { wclear(directory_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"); wrefresh(directory_content); wrefresh(preview_content);