Page MenuHomeSolus

Update lf to 19

Authored by davidjharder on Jan 24 2021, 8:54 PM.


Group Reviewers
Triage Team

Summarized Changelog

  • Changes have been made to enable the use of true image previews. See the documentation and the previews wiki page for more information.
  • Expansion %w in promptfmt is changed back to its old behavior without a trailing separator. Instead, a new expansion %d is added with a trailing separator. Expansion %w is meant to be used to display the current working directory, whereas %d%f is meant to be used to display the current file.
  • A new LF_COLORS environment variable is now checked to be able to make lf specific configurations. Also, environment variables for colors are now read cumulatively starting from the default behavior (i.e. default, LSCOLORS LS_COLORS LF_COLORS).
  • Full path, dir name, file name, and base name matching patterns are added to colors and icons. See the updated documentation for more information.
  • Multiple -command flags can now be given.
  • Basic mouse support has been added. Mouse buttons can be used in bindings.
  • Commands top and bottom are now allowed in cmap mappings in addition to movement commands.
  • Extension sorting should now handle extensions with different lenghts properly.
  • Heuristic used to show info should now take into account number and icons options properly.
  • Environment variable id is now set to process id instead to avoid two clients getting the same id when launched at the same time.
  • Unicode combining characters in texts should now be displayed properly.

Full changelog here

Test Plan
  • View some files

Diff Detail

R5042 lf
No Linters Available
No Unit Test Coverage

Event Timeline

davidjharder created this revision.Jan 24 2021, 8:54 PM
davidjharder requested review of this revision.Jan 24 2021, 8:54 PM
davidjharder edited the summary of this revision. (Show Details)Jan 24 2021, 8:57 PM
davidjharder abandoned this revision.Jan 25 2021, 2:36 PM
davidjharder added a subscriber: xulongwu4.

Abandoning in favor of D10437 because @xulongwu4 is the maintainer.

I missed that when I submitted the r18 update.

Oops. @davidjharder I didn't mean to step on your toes. Feel free to ping me or submit patches for it if you don't see me do it on time. I will also do a search to make sure no one else submitted the patch before I do it in the future.

@xulongwu4 No worries. I was about to apologize to you because I submitted the last update without noticing your MAINTAINER file.