Age | Commit message (Collapse) | Author |
|
- currently scroll is hardmapped to cursor_up and cursor_down
|
|
|
|
|
|
|
|
- add methods to access config_t
- add back home dir path shortening option
|
|
- remove horizontal margins in folder view
- move copy/cut methods into separate functions
- change some fields to private
|
|
|
|
|
|
|
|
- fix certain commands not showing options
- fix typos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- fixed bug where io tasks would not run when user is in a textfield or prompt
- fixed bug where cut doesn't work
- rework structs to have private fields and public functions
- move IOWorkerObserver into seperate file
- move code from TuiView to TuiFolderView
|
|
|
|
- abstract JoshutoContext implementation behind functions
- rework io workers in an attempt to fix a bug
- update dependencies
- remove JoshutoContextWorker
|
|
I was seeing build errors due to attempting to bitwise-and a u32 and a u16:
```
error[E0308]: mismatched types
--> src/util/unix.rs:6:50
|
6 | LIBC_PERMISSION_VALS.iter().any(|val| mode & *val != 0)
| ^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> src/util/unix.rs:6:48
|
6 | LIBC_PERMISSION_VALS.iter().any(|val| mode & *val != 0)
| ^ no implementation for `u32 & u16`
|
= help: the trait `std::ops::BitAnd<u16>` is not implemented for `u32`
```
I fixed this by simply up-converting `*val` to a `u32`.
The widening won't have any effect on functionality because we don't care about any of the higher bits.
|
|
- rework file operations
- simpler model for listening on io_worker progress
- cargo fmt/clippy
|
|
|
|
|
|
|
|
|
|
|
|
- this helps with reloading upon sort order change
|
|
|
|
|
|
- code cleanup
|
|
- this fixes issues where joshuto steals the inputs of
terminal applications after file operations have been done
|
|
- fix event to not consume the first few inputs on switching to a terminal program
|
|
- for asking users for long input strings
- implement prompt widget
- for prompting users for a single key response
|
|
- textfield is now a widget as well
- reduced code duplication with TuiView
- add backtab support
- add a message queue for notifications
|
|
- menu loop is now contained in widget rather than in run.rs
- add tui_footer for showing file info
- move TuiDirListDetailed into its own file
- add format util file for formatting file info
- add support for showing file size, symlink paths and modified times
|
|
- add ability to show file sizes in the main column
|
|
- clean up code
- update theme config
- fix localstate tracking file selection not selecting proper files
|
|
- move files around
- delete some old ncurses code
- integrate tui-rs styles and colors
|
|
|
|
|
|
|
|
- no longer depend on fs_extra for copy/paste files
- in house solution preserves permissions
- ioworkers are now queued, no more parallel io tasks
- input thread now listens for ioworker threads as well
- cargo fmt
|
|
- user input is now on a seperate thread
- this allows for other threads to be added as well
- keymap configs have changed to be more user friendly
|