Commit 1d1cc1b5 authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent 97148cce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment