Make nimsuggest quit when pressing Ctrl-D from the command line. (#5662)
This commit is contained in:
parent
3374bcb373
commit
3d4f68c822
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue