2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-31 10:43:22 +00:00

fix: call hinter for hint text handler

This commit is contained in:
TorchedSammy 2022-09-02 22:19:30 -04:00
parent 1eed4cc7ee
commit 59cec0ffa5
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

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)