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

This commit is contained in:
Joe Lim authored and GitHub committed 2023-10-30 09:40:39 +11:00
1 parent b3cb2dc2b4
commit f52fffbff6
1 file changed
+1
+1
View File
@@ -164,6 +164,7 @@ func saveFiles(list []string, cp bool) error {
fmt.Fprintln(files, f) fmt.Fprintln(files, f)
} }
files.Sync()
return nil return nil
} }