mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
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:
parent
78f3cd0472
commit
95b1767c45
@ -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 });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user