fix sending 'cv' cursor visible flag

This commit is contained in:
2017-01-26 04:46:34 +01:00
parent 1a33084041
commit 78c2f9ee52
3 changed files with 2 additions and 5 deletions
-3
View File
@@ -574,9 +574,6 @@
query = serializeData(opts.data);
}
console.log(opts);
console.log(query);
if (query && (method === 'GET')) {
url += (url.indexOf('?') === -1) ? '?' + query : '&' + query;
query = null;
+1 -1
View File
@@ -579,7 +579,7 @@ screenSerializeToBuffer(char *buffer, size_t buf_len, void **data)
ss->lastFg = 0;
ss->lastChar = '\0';
bufprint("{\"w\":%d,\"h\":%d,\"x\":%d,\"y\":%d,\"screen\":\"", W, H, cursor.x, cursor.y);
bufprint("{\"w\":%d,\"h\":%d,\"x\":%d,\"y\":%d,\"cv\":%d,\"screen\":\"", W, H, cursor.x, cursor.y, cursor.visible);
}
int i = ss->index;