* Define _XOPEN_SOURCE_EXTENDED on SmartOS
Enables wide ncurses.
* SmartOS has alloca() in alloca.h
* SmartOS does not have sig_t
* dprintf() is not available on SmartOS
So replace its usage with fprintf.
* SmartOS has no d_type
* SmartOS has no CLOCK_MONOTONIC_RAW
* SmartOS has no O_DIRECTORY
* Work around SmartOS not having mime detection
* Missing comma
If the formatted string is longer than 17 characters the string won't
be null terminated, causing gibberish to be printed on the status line
and possibly worse.
This occurs with my current locale in which a date is printed as such:
2019-okt.-15 19:26
Which is 18 characters.
This patch changes the mouseinterval to 0. And handles detection of
doubleclicking events internally.
This allows much faster response times for mouse clicks as nnn no longer
has to wait for ncurses to confirm what type of click it was.
It introduces a new config setting for changing how many milliseconds it
may take for a double click to be registered.
* unmount() ask for target if not found
unmount() now properly asks for which target to unmount if it cannot
automatically deduce which folder to unmount.
* no more automatic unmounts outside of cfgdir
* Implemented edit selection buffer
* Added checks and changed keybind
* Forgot check and style fixes
* Don't work late at night again
You forget things when you're tired
- distinct keybinds for single entry, range or all selection
- selecting a file/range/all files would turn selection mode on
- single file/range or all selection appends to selection
- any operation (cp, mv, rm, plugin/file execution, cmd prompt, launch app, spawn
shell) on selection ends the selection mode
- selection buffer is cleared after mv, rm on selection
- repeat range selection on same file clears selection and exits seleciton mode
- basic check (won't work on dir reload) added to avoid duplicates in selection