fix terminal escape sequence printing bug (#1544)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved handling of terminal data processing by ensuring it only
occurs when the terminal is fully initialized.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Mike Sawka 2024-12-17 11:55:34 -08:00 committed by GitHub
parent 78f3cd0472
commit 95b1767c45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,6 +165,9 @@ export class TermWrap {
}
handleTermData(data: string) {
if (!this.loaded) {
return;
}
const b64data = util.stringToBase64(data);
RpcApi.ControllerInputCommand(TabRpcClient, { blockid: this.blockId, inputdata64: b64data });
}