diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-19 20:30:09 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-19 20:30:09 -0500 |
commit | 920a59aa22f0a2dcb3cc9cd00a54e977904cdcf4 (patch) | |
tree | 71eb08d6ea35ec4b00aec5b68dba6478eac7fe92 | |
parent | 3a930dfdb199289a77d98246345f1a9189de62a7 (diff) |
socket returns a more useful number on .write
-rw-r--r-- | socket.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ class Socket extends retryws { "edits": write, "kind": "write" })); - return writect-chars.length; // First label within write for cross-referencing with confirmation + return writect-1; // Last label within write for cross-referencing with confirmation } this.cursor = function(coords){ //coords is just one pair of char coords; I think the api could handle more, but it's unnecessary for now. |