From 3d4f68c822a31195da76363c3e775fb21257566d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20D=C3=B6ring?= Date: Thu, 6 Apr 2017 08:16:26 +0200 Subject: [PATCH] Make nimsuggest quit when pressing Ctrl-D from the command line. (#5662) --- nimsuggest/nimsuggest.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim index 329e09510d..c5858b8f80 100644 --- a/nimsuggest/nimsuggest.nim +++ b/nimsuggest/nimsuggest.nim @@ -287,6 +287,7 @@ proc replStdin(x: ThreadParams) {.thread.} = var line = "" while readLineFromStdin("> ", line): replStdinSingleCmd(line) + requests.send "quit" proc replCmdline(x: ThreadParams) {.thread.} = replStdinSingleCmd(x.address)