From 4dffd609601598f718d7f27ac9ded4e8e2f73982 Mon Sep 17 00:00:00 2001 From: Cheney Date: Fri, 20 Nov 2015 11:33:10 +0800 Subject: [PATCH] example: improve InterruptPrompt --- example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/main.go b/example/main.go index 8a7d9eb..20a8650 100644 --- a/example/main.go +++ b/example/main.go @@ -49,7 +49,7 @@ func main() { Prompt: "\033[31m»\033[0m ", HistoryFile: "/tmp/readline.tmp", AutoComplete: completer, - InterruptPrompt: "\nInterrupt", + InterruptPrompt: "\nInterrupt, Press Ctrl+D to exit", EOFPrompt: "exit", }) if err != nil {