Minor fixes and update runtime

This commit is contained in:
Zachary Yedidia
2016-08-25 15:47:16 -04:00
parent 0711c29c0a
commit 60b84c7aba
3 changed files with 117 additions and 109 deletions

View File

@@ -313,7 +313,7 @@ func (v *View) HandleEvent(event tcell.Event) {
v.Cursor.Right()
for _, pl := range loadedPlugins {
_, err := Call(pl+".onRune", []string{string(e.Rune())})
_, err := Call(pl+".onRune", string(e.Rune()))
if err != nil && !strings.HasPrefix(err.Error(), "function does not exist") {
TermMessage(err)
}