Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export user-options on change (#1418)
* Export user-options when they are evaluated If one has an external previewer that uses an lf user-option (e.g. "preview-mode") and some key-kindings that change this user-option (e.g. to "hex", "simple", "fancy") and send a "reload" command to lf, then the expectation after pressing the keys is, that the prewiever is called with an updated value of the user-option. Though this did not happen since #1354, as this caused random crashes. This change exports user-defined options immediately when they are evaluated. * Fix: Add explaining comment
- Loading branch information