From 46f410607f6a1950b6b34c95110a48faa896c0c8 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Tue, 27 Oct 2015 20:26:58 +0000 Subject: [PATCH] Correct minor issues with auto complete example --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 02fd997..829a583 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,6 @@ for { ```go import ( - "log" "gopkg.in/readline.v1" ) @@ -136,7 +135,7 @@ var completer = readline.NewPrefixCompleter( readline.PcItem("help"), ) -rl, err := readline.New(&readline.Config{ +rl, err := readline.NewEx(&readline.Config{ Prompt: "> ", AutoComplete: completer, })