mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
proper compiler output delimiter in the stdin compiler service
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user