Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force sync when writing to cut/copy buffer file #1480

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

joelim-work
Copy link
Collaborator

This change syncs ~/.local/share/lf/files to the disk immediately after writing to it, to minimize the time window in which another instance of lf opens the file in between and finds that it is empty.

@joelim-work joelim-work merged commit f52fffb into gokcehan:master Oct 29, 2023
4 checks passed
@joelim-work joelim-work deleted the sync-files branch October 29, 2023 22:40
@gokcehan gokcehan mentioned this pull request Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in second lf instance when using "paste; clear" to cut/paste files
2 participants