Commit Graph

142 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 2c595100ae
Fix setcchar invocation 2018-11-01 20:05:06 +01:00
Přemysl Eric Janouch e4af5b4147
Remember cursor position in ancestor directories 2018-11-01 19:40:05 +01:00
Přemysl Eric Janouch c9bffc6046
Fix uninitialized iterator 2018-11-01 19:29:43 +01:00
Přemysl Eric Janouch 292829852e
Implement simple in-application help
It could be made more complicated but I guess it's fine for now.

We've learnt to run pagers.
2018-11-01 16:03:17 +01:00
Přemysl Eric Janouch db051698e6
Use words for prompts, not cryptic characters 2018-11-01 12:33:47 +01:00
Přemysl Eric Janouch 51ed172d5d
Only quote output when necessary 2018-10-27 21:26:11 +02:00
Přemysl Eric Janouch ffa5754b59
Cleanup 2018-10-26 07:51:44 +02:00
Přemysl Eric Janouch 6f66aa3c06
Configurable key bindings 2018-10-25 23:05:34 +02:00
Přemysl Eric Janouch 86b520006c
Look up bindings through a map 2018-10-25 23:05:34 +02:00
Přemysl Eric Janouch 2484c94b39
Fix key binding collisions
Still not fixed in handle_editor() though.
2018-10-25 23:05:33 +02:00
Přemysl Eric Janouch 6e34f480a9
Finish copying the GNU ls coloring algorithm 2018-10-25 23:05:33 +02:00
Přemysl Eric Janouch 1ba2709fda
Align modification time right
To reflect GNU ls.
2018-10-25 14:58:53 +02:00
Přemysl Eric Janouch 3e40137f7a
Handle stat() errors, slight refactor
Symlink target information is now stored in entries.
2018-10-25 14:58:53 +02:00
Přemysl Eric Janouch 6aa1e5d8a5
Show symlink targets
Rudimentary, needs a refactor.
2018-10-24 13:07:14 +02:00
Přemysl Eric Janouch 6e879c9db9
Defer keypad() invocation 2018-10-24 10:23:37 +02:00
Přemysl Eric Janouch 45f79abf9c
Load users, groups and current time once per refresh
Avoids plenty of costly syscalls per loaded entry.
2018-10-24 10:23:26 +02:00
Přemysl Eric Janouch 1b74b1976a
Update copyright years 2018-10-24 07:45:23 +02:00
Přemysl Eric Janouch 638d570cbd
Add & and ~ chdir shortcuts
& goes to the starting directory, ~ goes home.
2018-10-24 05:16:22 +02:00
Přemysl Eric Janouch ae310d1380
Use Doxygen field comments 2018-10-24 05:05:26 +02:00
Přemysl Eric Janouch edf94db8df
Limit inotify to visible events 2018-10-24 04:51:16 +02:00
Přemysl Eric Janouch 70e391eed0
README: mention a similar project 2018-06-30 08:21:38 +02:00
Přemysl Eric Janouch 4b4277b306
Make sure to fill the view when possible
When there were more items than would fit on the screen and the cursor
was at the end of the list, a reload causing items to disappear or
a vertical terminal enlargement would fail to adjust the start offset.
2018-06-22 19:51:05 +02:00
Přemysl Eric Janouch 712334c0ee
Update README 2018-06-22 19:51:02 +02:00
Přemysl Eric Janouch 1c47cf7908
Relicense to 0BSD, update mail address
I've come to the conclusion that copyright mostly just stands in the way
of software development.  In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.

The updated mail address, also used in my author/committer lines,
is shorter and looks nicer.  People rarely interact anyway.
2018-06-22 19:50:56 +02:00
Přemysl Eric Janouch 5bc64e25ae
Fix build on not-my-setup 2017-07-17 23:11:13 +02:00
Přemysl Eric Janouch 0cf63744a7
Factor out ls_format(), comments 2017-07-15 22:18:45 +02:00
Přemysl Eric Janouch 53ab5290e0
Fix POSIX ACLs detection on symlinks 2017-07-15 14:01:26 +02:00
Přemysl Eric Janouch a66e5ab457
Initial LS_COLORS support 2017-07-15 02:57:58 +02:00
Přemysl Eric Janouch fb73fc8292
Mark files that make use of POSIX ACLs 2017-07-14 21:49:32 +02:00
Přemysl Eric Janouch 8c658475b4
Factor out choose() 2017-06-30 23:33:52 +02:00
Přemysl Eric Janouch e38f0234c9
README: use spaces for indentation 2017-06-30 22:55:18 +02:00
Přemysl Eric Janouch 4fa98abec3
Figure out bash 2017-06-30 22:51:52 +02:00
Přemysl Eric Janouch 571447298a
Switch output mode also on 't' 2017-06-30 21:52:43 +02:00
Přemysl Eric Janouch 596b490992
Fix inotify display 2017-06-30 21:34:11 +02:00
Přemysl Eric Janouch 4a9662b00a
Configurable colors 2017-06-30 21:29:10 +02:00
Přemysl Eric Janouch c90fa0a060
Properly align all columns 2017-06-30 08:25:47 +02:00
Přemysl Eric Janouch be77f6fa46
Use SI units, slight refactor 2017-06-30 07:37:03 +02:00
Přemysl Eric Janouch 182ba280dd
Refactor output, handle controls 2017-06-30 07:01:45 +02:00
Přemysl Eric Janouch 82764010f9
Some refactoring 2017-06-30 02:06:22 +02:00
Přemysl Eric Janouch 5d9246a38a
Show more file information
Yet to be properly aligned.
2017-06-30 01:39:49 +02:00
Přemysl Eric Janouch c8498c9165
Move contents to the bottom of the screen
Maybe this should have a switch.
2017-06-29 21:13:51 +02:00
Přemysl Eric Janouch a55fc17f31
Initial commit 2017-06-29 04:32:37 +02:00