File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ when not defined(WEB):
53
53
completions = completionsArray
54
54
hints = hintsTable
55
55
56
- proc completionsCback(buf: constChar; lc: ptr LinenoiseCompletions, userdata: pointer ) {.cdecl.} =
56
+ proc completionsCback(buf: constChar; lc: ptr LinenoiseCompletions) {.cdecl.} =
57
57
var token = $(buf)
58
58
var copied = strip($(buf))
59
59
let tokenParts = splitWhitespace(token)
@@ -64,7 +64,7 @@ when not defined(WEB):
64
64
linenoiseAddCompletion(lc, (copied & item).cstring )
65
65
66
66
67
- proc hintsCback(buf: constChar; color: var cint ; bold: var cint , userdata: pointer ): cstring {.cdecl.} =
67
+ proc hintsCback(buf: constChar; color: var cint ; bold: var cint ): cstring {.cdecl.} =
68
68
var token = $ (buf)
69
69
let tokenParts = splitWhitespace(token)
70
70
if tokenParts.len >= 1 :
You can’t perform that action at this time.
0 commit comments