Add statusline

This commit is contained in:
Zachary Yedidia
2016-03-17 18:20:07 -04:00
parent 1781766e21
commit b3b7e8414d
5 changed files with 90 additions and 22 deletions

View File

@@ -42,6 +42,7 @@ func (b *Buffer) save() error {
}
func (b *Buffer) saveAs(filename string) error {
b.savedText = b.text
err := ioutil.WriteFile(filename, []byte(b.text), 0644)
return err
}