From 6673e343af9c5a64edb61c263afcd30880d97650 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 28 Feb 2026 18:50:43 +0800 Subject: [PATCH] Redraw status bar on backspace --- src/cli/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/index.js b/src/cli/index.js index 3f4759c..5241524 100644 --- a/src/cli/index.js +++ b/src/cli/index.js @@ -84,6 +84,9 @@ process.stdin.on('keypress', (str, key) => { } return; } + if (!isRunning && key && key.name === 'backspace') { + if (statusBar) statusBar.render(); + } if (key && key.name === 'escape' && isRunning) { escPendingCancel = true; if (activeStreamController && typeof activeStreamController.abort === 'function') {