Changelog
- (Breaking) There has been some changes in the server protocol. Make sure to kill the old server process when you update to avoid errors.
- (Breaking) Server
load
andsave
commands are now removed. Instead a local file is used to record file selections (e.g.~/.local/share/lf/files
). See the documentation for more information. - (Breaking) Clients are now disconnected from server on quit. The old server
quit
command is renamed toquit!
to act as a force quit by closing connected client connections first. A newquit
command is added to only quit when there are no connected clients left. - (New) A new
autoquit
option is added to automatically quit server when there are no connected clients left. This option is disabled by default to keep the old behavior. This is added as an option to avoid respawning server repeatedly when there is often a single client involved but more clients are spawned from time to time. - (New) A new
-single
command line flag is added to avoid spawning and/or connecting to server on startup. Remote commands would not work in this case as the client does not connect to a server. Local versions of internalload
andsync
commands are implemented properly. - (New) Errors for remote commands are now also shown in the output in addition to the server log file.
- (New) Bright ansi color escape codes (i.e. 90-97 and 100-107) are now supported.
- (Fix) Lookahead size for escape codes are increased to recognize longer escape codes used in some image previewers.
- (Fix) File preview cache is invalidated when the terminal height changes to fill the screen properly.
- (Fix) File preview cache is invalidated when
drawbox
option changes and true image previews should be triggered to be drawn at updated positions. - (Fix) A crash scenario is fixed when
hidden
option is changed. - (Fix) Pane widths should now be calculated properly when big numbers are used in
ratios
(by @kmarius). - (Fix) Special bookmark
'
is preserved properly aftersync
commands (by @kmarius). - (Fix) On some platforms, a bug has been fixed on tcell side to avoid an extra key press after terminal suspend/resume and the tcell version used in lf is bumped accordingly to include the fix.
- (Fix) Prompt line should now scroll accordingly when the text is wider than the screen.
- (Fix) Text width in the prompt line should now be calculated properly when non-ascii characters are involved.
- (Fix) Erase line escape codes (i.e.
\033[K
) used in some command outputs should now be ignored properly.