Add history navigation with up and down arrows

Fixes #145
This commit is contained in:
Zachary Yedidia
2016-05-28 18:41:53 -04:00
parent 1c127a6c3f
commit 1fe18eecb7
5 changed files with 42 additions and 10 deletions

View File

@@ -227,6 +227,7 @@ func main() {
}()
messenger = new(Messenger)
messenger.history = make(map[string][]string)
views = make([]*View, 1)
views[0] = NewView(buf)