Merge pull request #9 from adrcunha/patch-2
Drop newline in the activity indicator
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ export const discoverDevices = (debug: boolean, discovery_ip: string): EventEmit
|
|||||||
|
|
||||||
let buf = create_LanSearch();
|
let buf = create_LanSearch();
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
console.log(".");
|
process.stdout.write(".");
|
||||||
sock.send(new Uint8Array(buf.buffer), SEND_PORT, discovery_ip);
|
sock.send(new Uint8Array(buf.buffer), SEND_PORT, discovery_ip);
|
||||||
}, 2000);
|
}, 2000);
|
||||||
sock.send(new Uint8Array(buf.buffer), SEND_PORT, discovery_ip);
|
sock.send(new Uint8Array(buf.buffer), SEND_PORT, discovery_ip);
|
||||||
|
|||||||
Reference in New Issue
Block a user