diff options
author | Araq <rumpf_a@web.de> | 2011-02-16 02:24:12 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-16 02:24:12 +0100 |
commit | f7b2d7179052a11947cd538f140d428f43e4f20a (patch) | |
tree | 0232dd9a60968c6627130ca00c29e5758dbfbd17 /lib | |
parent | 5c7e3efbc3bfe489d3233309449a43a0fdf51195 (diff) | |
download | Nim-f7b2d7179052a11947cd538f140d428f43e4f20a.tar.gz |
first implementation of suggest
Diffstat (limited to 'lib')
-rw-r--r-- | lib/impure/rdstdin.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/impure/rdstdin.nim b/lib/impure/rdstdin.nim index a1f0291bf..003cfa3d1 100644 --- a/lib/impure/rdstdin.nim +++ b/lib/impure/rdstdin.nim @@ -32,5 +32,7 @@ else: # initialization: # disable auto-complete: - discard readline.bind_key('\t'.ord, readline.abort) + proc doNothing(a, b: cint): cint {.cdecl, procvar.} = nil + + discard readline.bind_key('\t'.ord, doNothing) |