mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-21 08:20:23 +00:00
parent
4802403308
commit
2bf40f096e
1 changed files with 3 additions and 1 deletions
|
|
@ -471,7 +471,9 @@ func main() {
|
|||
f.function(f.output, f.args...)
|
||||
continue
|
||||
case <-autosave:
|
||||
CurView().Save(true)
|
||||
if CurView().Buf.Path != "" {
|
||||
CurView().Save(true)
|
||||
}
|
||||
case event = <-events:
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue