Commit graph

218 commits

Author SHA1 Message Date
e7640b5768
if file has more lines than preview window, rest of lines will not be printed 2024-03-15 14:02:52 +00:00
c1387bcee1
rewrite Makefile 2024-03-15 11:51:58 +00:00
Piotr Marendowski
e48871e04e
Merge pull request #15 from piotr-marendowski/feature
Feature
2024-03-14 20:42:09 +00:00
53b56e40a8
fix marking files actually update dir files list 2024-03-14 19:57:03 +00:00
cf5cc41034
fix mark files printing at panel 2024-03-14 19:56:36 +00:00
3ac8fad187
use macros for keys 2024-03-14 19:47:46 +00:00
bd855396be
remove unncessary color attron 2024-03-14 15:41:31 +00:00
53da8722f8
forget to remove a line after merging 2024-03-14 15:36:52 +00:00
437f0e8cf5
merge upstream 2024-03-14 15:31:58 +00:00
b7bd570ed1
change type to ftype in add_file_stat 2024-03-14 15:29:31 +00:00
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
Piotr Marendowski
fa1eb500ac Add colored filenames based on file types 2024-03-14 16:09:31 +01: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
8199ec3ecb
Merge pull request #14 from piotr-marendowski/feature
Feature
2024-03-14 00:03:20 +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
Piotr Marendowski
0c9ebad916
Merge pull request #13 from piotr-marendowski/feature
Feature
2024-03-13 18:43:34 +00:00
3ac56a9d86
Merge branch 'master' of github.com:piotr-marendowski/ccc into feature 2024-03-13 18:41:46 +00: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
Piotr Marendowski
0884c735c6
Merge pull request #12 from piotr-marendowski/feature
Feature
2024-03-12 22:04:01 +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
4cbe842c30
fix installation treat install as comment 2024-03-12 20:57:05 +00:00
2f46ef959a
better table 2024-03-12 20:54:25 +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
cd2366fab1
Merge pull request #10 from piotr-marendowski/feature
Added bottom panel, other smaller changes
2024-03-10 21:39:25 +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
18d459a595
Merge pull request #9 from piotr-marendowski/develop
suckless code style
2024-03-10 10:55:31 +00:00
d2b85b6f88
suckless code style 2024-03-10 10:54:08 +00:00
Piotr Marendowski
748171524b
Merge pull request #8 from piotr-marendowski/feature
Update README
2024-03-09 20:52:54 +00:00
Piotr Marendowski
695d6eeba7 Update README 2024-03-09 21:52:24 +01:00
ad522c303b
Merge pull request #7 from piotr-marendowski/develop
Develop
2024-03-09 19:56:10 +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
45b24bfd5f
Merge pull request #6 from piotr-marendowski/develop
Develop
2024-03-09 19:46:46 +00:00