Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (1)
......@@ -57,6 +57,8 @@ function getkeys(str)
while(1) {
while(!dk.console.waitkey(10000));
key=dk.console.getkey().toUpperCase();
if (key === 'CONNECTION_CLOSED')
exit(0);
if(str.indexOf(key)!=-1)
break;
}
......
......@@ -2062,6 +2062,13 @@ function getkey()
ch = '\x00';
do {
ch = getkeyw();
if (ch === 'CONNECTION_CLOSED') {
if (player !== undefined) {
player.on_now = false;
player.put();
}
exit(0);
}
if (ch === null || ch.length !== 1) {
ch = '\x00';
}
......