mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-18 14:55:38 -04:00
Adding error screen for lua functions running in status line
This commit is contained in:
parent
fa317456e9
commit
02ef3585cd
@ -83,6 +83,8 @@ func SetStatusInfoFnLua(fn string) {
|
||||
} else {
|
||||
return string(v)
|
||||
}
|
||||
} else {
|
||||
screen.TermMessage(plFn, "failed with error\n"+err.Error())
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user