- Refactor of the completion module, primarily to have the `match...` functions return the result for each possible match, so that they can be displayed when the user cycles through the completions using `cmd-menu-complete`/`cmd-menu-complete-back`
- Add support for completing list options (e.g. `set info user:group:size:time`)
- Provide different implementations for escaping/unescaping for `lfrc` command syntax, Unix and Windows. It is a bit hacky, but for now I want to keep `lf` as shell-agnostic as possible which means minimizing the logic based on `gOpts.shell`
- Fix alignment bug in the completion menu when displaying filenames with fullwidth characters
- Add functionality for visually selecting files
- Add keymap for Visual mode, and supporting `nmap` and `vmap` commands
- Add mode column for `maps` command, also add `nmaps` and `vmaps` commands
- Add `visualfmt` option for configuring appearance for the visual selection
- Add `%m/%M` placeholders for displaying the mode
- Add marker indicating the number of visually selected files in the ruler
- Add `visual` as an identifier when exporting `lf_mode`
- Remove experimental `invert-below` command
* Make sixel output flicker free
* Address pr comments
* Lock regions based on sixel dimensions
This fixes issues related to clearing the previous sixel data
* name changes and extra error handeling
* Apply force clearing changes and change log messages
* Delete missleading comment
* check pixel dimensions
* correct cell dimensions checking
* Add force clearing on image update
---------
Co-authored-by: Mariusz Kuchta <mariusz@kuchta.dev>
* add drawbinds option
* rename drawbinds to showbinds and change its place in docs
* minor changes in wording of showbinds option
* fix missing newlines
---------
Co-authored-by: yarik <dazzywi@github.com>
* Implement recv mechanism
* Implement recv commands
* Add mutex for state data structure
* Use string to store data instead of byte buffer
* Remove runPagerOn function
* Add history command
* Add documentation
* Add default `maps` command
* Add default `cmds` command
* Reduce locking time
* Remove empty line
* Fix documentation for `recv`
* Add comment about `recv` thread
* Change `recv` to `query`
* Fix comment
* test
* Add comment about connection lifetime
* Map `cmaps` by default
* add 'setlocal' for option 'sortby'
* save each local option separately
* add 'setlocal' for option 'reverse'
* add 'setlocal' for option 'dirfirst'
* add 'setlocal' for option 'hidden'
* add 'setlocal' for option 'dironly'
* add 'setlocal' for option 'info'
* add boolean toggling for 'setlocal' options
* check if the path is absolute for 'setlocal'
* add 'setlocal' options to completion
* add tests for 'setlocal'
* add 'setlocal' to the documentation
* use trailing '/' in 'setlocal' for subdir matching
* cleanup
* add 'setlocal' subdirs to the documentation
Implements a `fakeStat` struct with dummy values and stores the
error in `file.err`, then shows the error instead of FileInfo, if
the file is inaccesible.
Fixes#1359