fix sending 'cv' cursor visible flag

pull/30/head
Ondřej Hruška 8 years ago
parent 1a33084041
commit 78c2f9ee52
  1. 3
      html/js/app.js
  2. 2
      libesphttpd
  3. 2
      user/screen.c

@ -574,9 +574,6 @@
query = serializeData(opts.data); query = serializeData(opts.data);
} }
console.log(opts);
console.log(query);
if (query && (method === 'GET')) { if (query && (method === 'GET')) {
url += (url.indexOf('?') === -1) ? '?' + query : '&' + query; url += (url.indexOf('?') === -1) ? '?' + query : '&' + query;
query = null; query = null;

@ -1 +1 @@
Subproject commit c0c05189a68730bc4ad0326071750cec2e372ec2 Subproject commit 9ff92faacfd857ee6d1d9c1069dc4752e6b56589

@ -579,7 +579,7 @@ screenSerializeToBuffer(char *buffer, size_t buf_len, void **data)
ss->lastFg = 0; ss->lastFg = 0;
ss->lastChar = '\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; int i = ss->index;

Loading…
Cancel
Save