summaryrefslogtreecommitdiffstats
path: root/src/event
AgeCommit message (Collapse)Author
2022-10-17Add ranger-like mouse control, incl. opening files (#207)DLFW
This enhances the mouse control and makes it similar to the behavior of ranger. * Entries in the “child-panel” can also “be clicked” now. * Left-clicking entries in the parent or child-panel moves the containing dir to the middle panel. * Right-clicking entries in the parent or middle panel opens the entry. This feature does not work properly in `hsplit`-mode. A short user documentation has been added to `misc.md`.
2022-09-03add symlink relativeJeff Zhao
2022-08-31rework previews to have loading state as wellJeff Zhao
2022-08-31cargo clippyJeff Zhao
2022-08-31more fine grain error handling for previewing directoriesJeff Zhao
2022-08-31use hashmap and uuid to store tabs (#194)Jeff Zhao
This is preliminary changes in order to track preview threads and progress. The current setup is we just kick off a new thread to load the given directory whenever we see the directory content does not exist in history. We don't track these threads or which tab these requests came from. When the result is returned, we just assign it to the current tab, instead of the tab that actually initiated the request. By adding uuid, we can now track which tab requested the preview and assign it accordingly. This will also allow us to track the status of the preview, so we can display to the user a loading state, when a directory is taking longer than usual to load. This will also solve the problem of kicking off multiple threads to read the same directory for the same tab. Now these threads can be stored and tracked. - side: fix reload not honouring tab sort options - use tab specific options whenever we need to reload stuff
2022-08-13Sort options individual per tab (#191)DLFW
Sort options (sort criterion, reversion, dir-first, and case-sensitivity) are specific for each tab. Changing sort-options will not have any affect on tabs other than the currently active one. Each new tab will start with the default sort-options.
2022-08-01add `symlink_files` commandJeff Zhao
2022-07-18increase performance by boxing values before sendingJeff Zhao
2022-07-18asynchronize delete operationJeff Zhao
2022-06-29rename TuiBackend to AppBackendJeff Zhao
- fix initial view not correctly offset
2022-05-30fix some clippyJeff Zhao
2022-05-26split up keymaps into different modesJeff Zhao
2022-05-04move input.rs to process_event.rsJeff Zhao
2022-04-17code cleanupJeff Zhao
2022-04-17track child processes and properly close them when completeJeff Zhao
2022-02-24Fix clippy warnings (#144)sushi-shi
2021-12-20refactor image preview via ueberzugJeff Zhao
2021-12-16Update view on filesystem changes (#112)DLFW
* Update view on filesystem changes AppContext owns an INotifyWatcher, which watches the visible directories (max. three). The list of directories to watch is updated on every event. If a filesystem change is announced, a "soft-update" of the current view is issued. * Specific "watchers" for Linux and MacOS For supervision of filesystem changes, specific `notify::Watcher` implementations are used for Linux and MacOS. Builds will likely fail for other OSes as `notify::recommended_watcher` may return some specific watcher implementation but the code just expects a `NullWatcher`. * remove dead code
2021-12-04move more logic into process_non_interactiveJeff Zhao