Commit graph

199 commits

Author SHA1 Message Date
920a660f23
remove redunant if statement 2024-03-20 20:32:43 +00:00
f321c26b07
add keybinding 2024-03-20 20:30:06 +00:00
aa32f9593e
use arraylist instead of linked list 2024-03-20 20:29:04 +00:00
1251bc9aed
use '.' to toggle hidden files 2024-03-20 18:21:02 +00:00
b459866236
use '?' to show usage and update readme with usage 2024-03-20 16:03:54 +00:00
d429cbe594
use '-' to go back previous dir 2024-03-20 14:45:01 +00:00
5aa36bbb0d
add back optimisation parameter 2024-03-20 14:44:44 +00:00
6ee92025a0
refactor 2024-03-20 12:28:08 +00:00
8ecb30a867
Merge pull request #18 from piotr-marendowski/omaster
Write last cd
2024-03-19 22:37:23 +00:00
1f0d79f2f0
Merge branch 'master' into feature 2024-03-19 22:28:30 +00:00
83497532e5
Merge branch 'feature' of github.com:piotr-marendowski/ccc into feature 2024-03-19 22:07:18 +00:00
f82d8044ae
write last directory before quit 2024-03-19 22:07:05 +00:00
1d702cd386
Revert "write last directory to a file configured in config.h"
This reverts commit a2321d5488.
2024-03-19 21:58:17 +00:00
a2321d5488
write last directory to a file configured in config.h 2024-03-19 21:57:25 +00:00
Piotr Marendowski
5859c61af7
Merge pull request #17 from piotr-marendowski/feature
Feature
2024-03-19 18:41:55 +00:00
Piotr Marendowski
124df59933 Add man page and update README 2024-03-19 19:40:32 +01:00
ef41218ffa
header file update for add_marked 2024-03-19 16:30:36 +00:00
255e09c18d
make mark all work correctly as expected 2024-03-17 23:21:58 +00:00
0f52bd265f
remove win struct as it is not used 2024-03-17 22:58:31 +00:00
c6c25d2c45
remove unnecessary stuff 2024-03-17 22:39:28 +00:00
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