diff options
Diffstat (limited to 'src/bindings/termcap.nim')
-rw-r--r-- | src/bindings/termcap.nim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bindings/termcap.nim b/src/bindings/termcap.nim index 4cc3241b..6d3d0e37 100644 --- a/src/bindings/termcap.nim +++ b/src/bindings/termcap.nim @@ -20,12 +20,13 @@ when termlib != "": {.passl: termlib.} {.push importc, cdecl.} const termcap_found* = true - proc tgetent*(bp: cstring, name: cstring): cint + proc tgetent*(bp: cstring; name: cstring): cint proc tgetnum*(id: cstring): cint proc tgetflag*(id: cstring): cint - proc tgetstr*(id: cstring, area: ptr cstring): cstring - proc tgoto*(cap: cstring, x, y: cint): cstring - proc tputs*(str: cstring, len: cint, putc: proc(c: char): cint {.cdecl.}): cint + proc tgetstr*(id: cstring; area: ptr cstring): cstring + proc tgoto*(cap: cstring; x, y: cint): cstring + proc tputs*(str: cstring; len: cint; putc: proc(c: char): cint {.cdecl.}): + cint {.pop.} else: const termcap_found* = false |