proper compiler output delimiter in the stdin compiler service
This commit is contained in:
parent
a31c81e31c
commit
e0f706804f
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ proc serve*(action: proc (){.nimcall.}) =
|
|||
var line = stdin.readLine.string
|
||||
if line == "quit": quit()
|
||||
execute line
|
||||
echo ""
|
||||
FlushFile(stdout)
|
||||
|
||||
of "tcp", "":
|
||||
var server = Socket()
|
||||
let p = getConfigVar("server.port")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue