mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
emergency brake for spinner output
This commit is contained in:
@@ -130,7 +130,13 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
||||
private sessionSupportsBracketedPaste = false
|
||||
private spinner = new Spinner({
|
||||
stream: {
|
||||
write: x => this.writeRaw(x),
|
||||
write: x => {
|
||||
try {
|
||||
this.writeRaw(x)
|
||||
} catch {
|
||||
this.spinner.stop()
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
private spinnerActive = false
|
||||
|
Reference in New Issue
Block a user