Updating SaveCmd to use saveBufToFile instead

This commit is contained in:
Neko Box Coder 2025-03-11 03:11:03 +00:00
parent 98356765c1
commit c9f12206e9
No known key found for this signature in database
GPG Key ID: E33FCF170345E0F5

View File

@ -907,10 +907,7 @@ func (h *BufPane) SaveCmd(args []string) {
if len(args) == 0 {
h.Save()
} else {
err := h.Buf.SaveAs(args[0])
if err != nil {
InfoBar.Error(err)
}
h.saveBufToFile(args[0], "SaveAs", nil)
}
}