From 42d1d361dc171d6c4f114ed3f4a42dd4173b1f84 Mon Sep 17 00:00:00 2001 From: stswangzhiping <59632378+stswangzhiping@users.noreply.github.com> Date: Sun, 15 Mar 2026 23:25:36 +0800 Subject: [PATCH] style(ttyd): enable cursor blink via client option Made-with: Cursor --- lib/frpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, });