From 1d1cc1b52d36dfe0feaaee1532206b741d9f09fe Mon Sep 17 00:00:00 2001
From: Neil Gershenfeld <gersh@cba.mit.edu>
Date: Wed, 9 Jan 2019 20:27:54 -0500
Subject: [PATCH] wip
---
screen.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/screen.js b/screen.js
index 41e23ff..d7cf7d3 100644
--- a/screen.js
+++ b/screen.js
@@ -43,7 +43,7 @@ var last
//
// initialization
//
-spawnSync('maim',['--showcursor','out.jpg'])
+spawnSync('maim',['out.jpg'])
img = fs.readFileSync('out.jpg','binary')
var requests = [null]
//
@@ -101,7 +101,7 @@ update()
//
function update() {
if (requests[0] == null) {
- const ps = spawn('maim',['--showcursor','out.jpg'])
+ const ps = spawn('maim',['out.jpg'])
ps.on('close',function(code){
fs.readFile('out.jpg','binary',function(err,data){
var changed = false
--
GitLab