Lilian Jónsdóttir
|
07424ecd36
|
add support for reading/writing $trashDir/directorysizes
- show total trash size in header
|
2024-08-14 18:53:25 -07:00 |
|
Lilian Jónsdóttir
|
6c3abd8d98
|
listing prints plainly if in non-interative terminal
|
2024-08-14 15:48:06 -07:00 |
|
Lilian Jónsdóttir
|
34eef6a228
|
replace os.Stat with os.Lstat
|
2024-08-14 15:08:50 -07:00 |
|
Lilian Jónsdóttir
|
50f4dbda8a
|
some clean up
|
2024-08-14 15:08:50 -07:00 |
|
Lilian Jónsdóttir
|
d8ec25b36d
|
use percent encoding on filenames
|
2024-08-05 23:09:52 -07:00 |
|
Lilian Jónsdóttir
|
d6f066095b
|
unexport and rearrange some functions
|
2024-08-05 23:06:37 -07:00 |
|
Lilian Jónsdóttir
|
4a10d7794f
|
add support for $topdir Trash directories
|
2024-08-05 22:40:11 -07:00 |
|
Lilian Jónsdóttir
|
cc973694e5
|
search only "info" folder for trashinfo files
swap filepath.WalkDir for os.ReadDir
I don't really know why I used WalkDir in the first place
|
2024-08-05 22:02:56 -07:00 |
|
Lilian Jónsdóttir
|
40521eb646
|
handle terminal resize event
|
2024-07-31 00:53:02 -07:00 |
|
Lilian Jónsdóttir
|
98a5044662
|
make linter happier
|
2024-07-31 00:13:48 -07:00 |
|
Lilian Jónsdóttir
|
e57afe835d
|
make model.header() less gross
model.showHelp() too
|
2024-07-30 21:30:06 -07:00 |
|
Lilian Jónsdóttir
|
8b01bffffe
|
fix panic when listing and restoring/cleaning wrong file
|
2024-07-30 19:44:02 -07:00 |
|
Lilian Jónsdóttir
|
0d952302d6
|
add selectall back
because I'm dumb
|
2024-07-30 19:42:59 -07:00 |
|
Lilian Jónsdóttir
|
48844886a9
|
make filter case insensitive
|
2024-07-30 18:53:44 -07:00 |
|
Lilian Jónsdóttir
|
1403f2e62f
|
properly handle filtered files being empty
|
2024-07-30 18:48:49 -07:00 |
|
Lilian Jónsdóttir
|
ed2def9c2f
|
add filter to table
|
2024-07-30 18:37:59 -07:00 |
|
Lilian Jónsdóttir
|
3e195f0d73
|
add function to style keybind for header
|
2024-07-30 18:28:30 -07:00 |
|
Lilian Jónsdóttir
|
3f317d58df
|
use const instead of magic strings
|
2024-07-30 18:28:30 -07:00 |
|
Lilian Jónsdóttir
|
7c0f78f4d6
|
more consistent errors
|
2024-07-30 14:19:42 -07:00 |
|
Lilian Jónsdóttir
|
437101b947
|
don't die on error trashing one file
try trashing all the rest instead
|
2024-07-30 13:53:50 -07:00 |
|
Lilian Jónsdóttir
|
11b22887f4
|
remove preselection of items
just hit 'a' if you want to select all
|
2024-07-30 13:12:00 -07:00 |
|
Lilian Jónsdóttir
|
b6cb6df999
|
less magic numbers
|
2024-07-30 13:03:33 -07:00 |
|
Lilian Jónsdóttir
|
84e0c9c926
|
make date column header in table depend on mode
|
2024-07-30 11:51:12 -07:00 |
|
Lilian Jónsdóttir
|
9b87c02744
|
make linters happy
fix typos, less short and more idomatic variable names, package comments, etc.
|
2024-07-30 11:43:54 -07:00 |
|
Lilian Jónsdóttir
|
50e8c992d1
|
cleanup model View() a bit
remove some cruft and verbosity and weird order of things
|
2024-07-28 23:36:51 -07:00 |
|
Lilian Jónsdóttir
|
1a03f7f23f
|
cleanup model Update() a bit
and repeat less
|
2024-07-28 23:31:38 -07:00 |
|
Lilian Jónsdóttir
|
73a63db198
|
sort filenames by number
but only if filename is just a number
^[0-9]+\.({extension})$
|
2024-07-28 23:30:20 -07:00 |
|
Lilian Jónsdóttir
|
b065126c46
|
split table header into left and right aligned parts
|
2024-07-28 18:18:16 -07:00 |
|
Lilian Jónsdóttir
|
2bffa7518c
|
improve help in header
|
2024-07-28 18:07:23 -07:00 |
|
Lilian Jónsdóttir
|
eafd8cd33d
|
sort some functions
exported on top
|
2024-07-28 18:07:07 -07:00 |
|
Lilian Jónsdóttir
|
c80cf605a8
|
rename package tables to interactive
|
2024-07-28 18:06:41 -07:00 |
|
Lilian Jónsdóttir
|
b16a8101d5
|
reverse size sorting
I don't know why I did that in the first place
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
95970274d8
|
oops I forgot to ignore case in reverse name sort
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
0fb1cfa22a
|
ignore case when sorting by extension
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
7fade0ce4c
|
move some functions out of main into packages
- confirm functions into files package
- newpath prompter into promt package
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
095f59babb
|
move filemode parsing to its own package
why doesn't the std lib have this???
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
a5e0a2546c
|
better docstring for dirs.UnExpand
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
b3f19bef73
|
show size of selected files in header
|
2024-07-28 18:04:12 -07:00 |
|
Lilian Jónsdóttir
|
ead10096d7
|
actually use the standard library
it has the nice side effect of working better too, imagine that
|
2024-07-21 20:54:11 -07:00 |
|
Lilian Jónsdóttir
|
be6885398b
|
unicode arrows for sorting help
|
2024-07-17 10:47:16 -07:00 |
|
Lilian Jónsdóttir
|
2d0d5bad1e
|
add flag to clean/restore all with confirmation
also swap case on date filter flags
|
2024-07-16 11:15:40 -07:00 |
|
Lilian Jónsdóttir
|
b0c5c9ed69
|
don't clean or restore nothing
|
2024-07-16 11:11:42 -07:00 |
|
Lilian Jónsdóttir
|
2515756d1d
|
case insensitive name sorting
|
2024-07-16 11:11:12 -07:00 |
|
Lilian Jónsdóttir
|
8a4b195a72
|
be less scared of broken symlinks
|
2024-07-15 22:41:34 -07:00 |
|
Lilian Jónsdóttir
|
e7e7b79e99
|
improve trashed message
|
2024-07-15 21:46:28 -07:00 |
|
Lilian Jónsdóttir
|
3fb12e3c44
|
avoid null pointer if a broken symlink is trashed
|
2024-07-15 21:31:22 -07:00 |
|
Lilian Jónsdóttir
|
940a2fc14f
|
add flag to filter by file mode
|
2024-07-15 21:05:21 -07:00 |
|
Lilian Jónsdóttir
|
40ef230a4f
|
make test function names more consistent
|
2024-07-15 21:02:26 -07:00 |
|
Lilian Jónsdóttir
|
97e51dd2d9
|
move filter test to its own package
|
2024-07-15 20:59:46 -07:00 |
|
Lilian Jónsdóttir
|
77e4f01a49
|
move some logging around
|
2024-07-15 20:56:29 -07:00 |
|