micro
micro copied to clipboard
micro sometimes truncates files to 0B when running out of disk space
Description of the problem or steps to reproduce
When disk space is low, micro will sometimes delete the contents of files it opens, along with micro's settings.json (results in "Error reading settings.json, Unexpected EOF")
Unfortunately, I don't have an exact sequence of steps to reproduce, but this mishap occured thrice or more to me already, so I am pretty confident in the validity of this report.
Specifications
Version: 2.0.8-dev.15 Commit hash: 530041ac OS: Linux Terminal: Konsole
Hello, I have encountered this issue multiple times, sometimes it also truncates the current source file I am working on and I lose all my work.