fix: call hinter for hint text handler

native-modules^2
TorchedSammy 5 months ago
parent 1eed4cc7ee
commit 59cec0ffa5
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

@ -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…
Cancel
Save