Commit graph

229 commits

Author SHA1 Message Date
82ccba51cb
revert to use units for 1024 bytes instead for 1000 bytes 2024-03-17 22:19:19 +00:00
0ed3ca858e
format issue 2024-03-17 22:17:46 +00:00
Piotr Marendowski
6d0b2d3321 Add more options in config 2024-03-17 13:28:27 +01:00
Piotr Marendowski
86e8733e08 Revert some stuff 2024-03-17 11:09:22 +01:00
Piotr Marendowski
e80f9ccd7f 'Minor refactoring + a change in keybindings'2 2024-03-16 22:46:21 +01:00
Piotr Marendowski
b01b5a2279 Add mark all operation 2024-03-16 22:09:47 +01:00
Piotr Marendowski
fcab4e35dd Minor refactoring + a change in keybindings 2024-03-16 21:59:49 +01:00
Piotr Marendowski
b2b682e96c Minor refactoring and changes in config.h 2024-03-16 21:37:56 +01:00
5f6c4ee903
Merge pull request #16 from piotr-marendowski/feature
Feature
2024-03-16 19:39:26 +00:00
716efb6014
a key to toggle dir_modes, DISK_USAGE and BLOCK_SIZE 2024-03-16 19:26:35 +00:00
e15caee8d0
print marked files with cyan
introduce free file method

remove strip from makefile as -s already did
2024-03-15 18:28:37 +00:00
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