diff --git a/lib/frpc.js b/lib/frpc.js index f48ede0..5173c26 100644 --- a/lib/frpc.js +++ b/lib/frpc.js @@ -129,7 +129,7 @@ async function startTtyd() { try { const shell = fs.existsSync('/bin/bash') ? '/bin/bash' : '/bin/sh'; - const proc = spawn(TTYD_BIN, ['-p', String(TTYD_PORT), '-i', '127.0.0.1', '-W', shell], { + const proc = spawn(TTYD_BIN, ['-p', String(TTYD_PORT), '-i', '127.0.0.1', '-W', '-t', 'cursorBlink=true', shell], { stdio: 'ignore', detached: true, });