Add messaging system

This commit is contained in:
Zachary Yedidia
2016-03-23 10:28:12 -04:00
parent df5e63561f
commit b9290997a5
4 changed files with 47 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ func (v *View) HandleEvent(event tcell.Event) int {
case tcell.KeyCtrlS:
err := v.buf.Save()
if err != nil {
// Error!
Error(err.Error())
}
// Need to redraw the status line
ret = 1