mirror of https://github.com/Hilbis/Hilbish
fix: call hinter for hint text handler
parent
1eed4cc7ee
commit
59cec0ffa5
2
rl.go
2
rl.go
|
@ -55,7 +55,7 @@ func newLineReader(prompt string, noHist bool) *lineReader {
|
|||
return []rune{}
|
||||
}
|
||||
|
||||
retVal, err := rt.Call1(l.MainThread(), rt.FunctionValue(highlighter),
|
||||
retVal, err := rt.Call1(l.MainThread(), rt.FunctionValue(hinter),
|
||||
rt.StringValue(string(line)), rt.IntValue(int64(pos)))
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
|
|
Loading…
Reference in New Issue