From f7b2d7179052a11947cd538f140d428f43e4f20a Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 16 Feb 2011 02:24:12 +0100 Subject: first implementation of suggest --- lib/impure/rdstdin.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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) -- cgit 1.4.1-2-gfad0