save: Perform write process safe

This commit is contained in:
Jöran Karl
2024-05-29 22:33:33 +02:00
parent 6e8daa117a
commit 9b53257e50
3 changed files with 120 additions and 53 deletions

View File

@@ -102,6 +102,7 @@ type SharedBuffer struct {
diff map[int]DiffStatus
requestedBackup bool
forceKeepBackup bool
// ReloadDisabled allows the user to disable reloads if they
// are viewing a file that is constantly changing