mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-08 14:43:23 +00:00
fix: use correct signature for rl lua loader
This commit is contained in:
parent
5d3c129e80
commit
afe579f5be
@ -45,7 +45,7 @@ func (lr *lineReader) Resize() {
|
||||
}
|
||||
|
||||
// lua module
|
||||
func (lr *lineReader) Loader() *lua.LTable {
|
||||
func (lr *lineReader) Loader(L *lua.LState) *lua.LTable {
|
||||
lrLua := map[string]lua.LGFunction{
|
||||
"add": lr.luaAddHistory,
|
||||
"all": lr.luaAllHistory,
|
||||
|
@ -65,7 +65,7 @@ func (lr *lineReader) Resize() {
|
||||
}
|
||||
|
||||
// lua module
|
||||
func (lr *lineReader) Loader() *lua.LTable {
|
||||
func (lr *lineReader) Loader(L *lua.LState) *lua.LTable {
|
||||
lrLua := map[string]lua.LGFunction{
|
||||
"add": lr.luaAddHistory,
|
||||
"all": lr.luaAllHistory,
|
||||
|
Loading…
x
Reference in New Issue
Block a user