Redraw status bar on backspace

This commit is contained in:
JOJO 2026-02-28 18:50:43 +08:00
parent 25dade1fb3
commit 6673e343af

View File

@ -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') {