Skip to content

Commit 8fdabcc

Browse files
authored
feat(docs): text mode requires newlines
1 parent 70b6771 commit 8fdabcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Use `.send(message)` to send a message to the Python script. Attach the `message
104104

105105
Use `options.mode` to quickly setup how data is sent and received between your Node and Python applications.
106106

107-
* use `text` mode for exchanging lines of text
107+
* use `text` mode for exchanging lines of text ending with a [newline character](http://hayne.net/MacDev/Notes/unixFAQ.html#endOfLine).
108108
* use `json` mode for exchanging JSON fragments
109109
* use `binary` mode for anything else (data is sent and received as-is)
110110

0 commit comments

Comments
 (0)