Commit graph

34 commits

Author SHA1 Message Date
d29dd3ed5f
change list_files to populate_files and not print the file, only in highlight
add ftype to add_file_stat to add marked/file
2024-03-14 15:29:03 +00:00
373ce06175
use z to reload, t to go to trash dir, create trash dir if not exist
print empty directory at preview if directory is empty

add wpprintw to print panel easier
2024-03-14 14:46:06 +00:00
b93b1bcda1
use ~ to go to home 2024-03-14 12:46:38 +00:00
b8a51aef02
enable arrow keys, backspace, enter, and space to do respective actions 2024-03-14 10:52:01 +00:00
071961befa
better file size format 2024-03-13 23:59:08 +00:00
5c3c0bf07f
use nftw rather than calculating apparent size manually 2024-03-13 23:51:05 +00:00
c6e65fb0dc
add keybinding to commit to know it is ctrl u/d 2024-03-13 19:46:25 +00:00
3a40477b0c
Merge branch 'feature' of github.com:piotr-marendowski/ccc into feature 2024-03-13 19:38:26 +00:00
74d5bda857
fix on preview scrolling and error handling when no permission to stat
prevent preview if it is on directory
2024-03-13 19:37:26 +00:00
Piotr Marendowski
ee9523989e Delete config.def.h and edit Makefile 2024-03-13 20:19:28 +01:00
e9871ec733
use correct comment syntax 2024-03-13 18:40:39 +00:00
1616b2a10b
remove debug code 2024-03-13 18:29:28 +00:00
4dcfda0167
handle other file type 2024-03-13 18:28:04 +00:00
a4161aff04
enable scrolling for directory if too many files 2024-03-13 15:51:52 +00:00
6757faf9a6
add type field in file and calculate real folder size 2024-03-13 10:18:35 +00:00
bf3cbe71d1
merge with upstream 2024-03-12 21:01:11 +00:00
adae6f87fb
make h and l key to navigate different directory
use 2 more window to display content

slight refactor and better variable names
2024-03-12 20:59:36 +00:00
Piotr Marendowski
6b2eb35601
Merge pull request #11 from piotr-marendowski/feature
add stats and add key binds and fix preview
2024-03-12 19:27:12 +00:00
b497735ee6
add stats beside filename 2024-03-11 21:54:14 +00:00
Piotr Marendowski
7ab7641572 Add ctrl + u/d jumps 2024-03-11 21:24:54 +01:00
2acda7768c
use 'e' key to edit file and fix file content showing in preview 2024-03-11 15:57:41 +00:00
44d8df66d1
fix usage on arg -h 2024-03-10 21:38:26 +00:00
bf6923d24c
fix redundant space and using ftell twice 2024-03-10 21:31:33 +00:00
Piotr Marendowski
7b58f36b39 Added bottom panel, other smaller changes 2024-03-10 21:23:15 +01:00
d2b85b6f88
suckless code style 2024-03-10 10:54:08 +00:00
a8595d0aae
fix preview remove border 2024-03-09 19:55:32 +00:00
e90fac2c2f
added keybinding for 'G' to scroll to end of list 2024-03-09 19:52:22 +00:00
30c70e119e
fix get_file returning null 2024-03-09 19:46:15 +00:00
dca031c1f3
adding file.c file.h and fix ccc.c %s is null 2024-03-09 19:18:19 +00:00
0699fc2200
merge with lastest commit 2024-03-09 19:16:00 +00:00
c2499a5902
use linked list instead of linear list 2024-03-09 19:14:26 +00:00
Piotr Marendowski
dd4f3cb24a Minor changes in ccc.c 2024-03-09 20:02:46 +01:00
Piotr Marendowski
9e3de3d265 Some style improvements in ccc.c 2024-03-09 19:24:38 +01:00
56efd5dc71
Add highlight on current cursor file with preview 2024-03-09 17:37:04 +00:00