2020-08-03 15:30:38 +02:00
|
|
|
shfm
|
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
wip file manager written in posix shell
|
|
|
|
|
|
|
|
note: likely very broken
|
|
|
|
|
2020-08-03 15:35:13 +02:00
|
|
|
|
|
|
|
features
|
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
* draws in the most inefficient fashion possible. whole screen updates every key
|
|
|
|
press. language choice limits us GREATLY here (no arrays).
|
|
|
|
|
|
|
|
* really nice escape sequence handling for keys which emit '\033[<stuff>'. Not
|
|
|
|
based on read timeouts. Based on tracking position within sequences.
|
|
|
|
|
|
|
|
* has no dependencies other than a POSIX shell and POSIX coreutils (for printf,
|
|
|
|
[, etc if not builtin).
|
|
|
|
|
2020-08-03 15:36:58 +02:00
|
|
|
* movement uses vim-like keybinds (hjkl).
|
|
|
|
|
2020-08-03 15:35:13 +02:00
|
|
|
|
|
|
|
todo
|
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
- [ ] scrolling is torture.
|
|
|
|
- [ ] search
|
|
|
|
- [ ] prompts
|
|
|
|
- [ ] opener
|
|
|
|
- [ ] resize (POSIX shell winch is not asynchronous during read + SIGWINCH?)
|