summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-16 02:24:12 +0100
committerAraq <rumpf_a@web.de>2011-02-16 02:24:12 +0100
commitf7b2d7179052a11947cd538f140d428f43e4f20a (patch)
tree0232dd9a60968c6627130ca00c29e5758dbfbd17 /lib
parent5c7e3efbc3bfe489d3233309449a43a0fdf51195 (diff)
downloadNim-f7b2d7179052a11947cd538f140d428f43e4f20a.tar.gz
first implementation of suggest
Diffstat (limited to 'lib')
-rw-r--r--lib/impure/rdstdin.nim4
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)