aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--socket.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.js b/socket.js
index c165597..d5243a2 100644
--- a/socket.js
+++ b/socket.js
@@ -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.