Commits

Meikel Brandmeyer committed 2fc603a

Rewrite print-message with """

  • Participants
  • Parent commits 9cc4ee8

Comments (0)

Files changed (1)

nrepl-client/nrepl-client/nrepl-client.factor

 
 : print-response ( response -- )
    "{" write
-   " \"stdout\" : \""    write dup stdout>> write "\"," write
-   " \"stderr\" : \""    write dup stderr>> write "\"," write
-   " \"value\" : \""     write dup value>>  write "\"," write
-   " \"namespace\" : \"" write dup nspace>> write "\" " write
+   """ "stdout" : """"    write dup stdout>> write """",""" write
+   """ "stderr" : """"    write dup stderr>> write """",""" write
+   """ "value" : """"     write dup value>>  write """",""" write
+   """ "namespace" : """" write dup nspace>> write """" """ write
    "}" print
    flush
    drop ;