forked from mirror/readline
example: improve InterruptPrompt
This commit is contained in:
parent
5660cc8cb6
commit
4dffd60960
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue