From d246dda2690895c0161795fd1c4ed91b75751578 Mon Sep 17 00:00:00 2001 From: Hammer1279 Date: Thu, 27 Feb 2025 18:35:43 +0100 Subject: [PATCH] fix missing prompt on debug command --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index dc93508..219d654 100644 --- a/index.js +++ b/index.js @@ -277,6 +277,9 @@ process.stdin.on('data', async (key) => { process.stdout.write("$ "); } else if (command == "debug") { socket.write(Buffer.concat([IAC, DO, STATUS])); // Debug request Status + setTimeout(() => { + process.stdout.write("$ "); + }, delayMs); } else if (command == "keyinfo") { console.log("Key Information:"); console.log("Key Curve:", keyCurve);