mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Minor fixes and update runtime
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user