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:
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…
x
Reference in New Issue
Block a user