Redraw status bar on backspace
This commit is contained in:
parent
25dade1fb3
commit
6673e343af
@ -84,6 +84,9 @@ process.stdin.on('keypress', (str, key) => {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!isRunning && key && key.name === 'backspace') {
|
||||||
|
if (statusBar) statusBar.render();
|
||||||
|
}
|
||||||
if (key && key.name === 'escape' && isRunning) {
|
if (key && key.name === 'escape' && isRunning) {
|
||||||
escPendingCancel = true;
|
escPendingCancel = true;
|
||||||
if (activeStreamController && typeof activeStreamController.abort === 'function') {
|
if (activeStreamController && typeof activeStreamController.abort === 'function') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user