Working xtermjs!

This commit is contained in:
EthanShoeDev
2025-09-18 00:17:35 -04:00
parent 7c448e2ec3
commit 808f476bac
4 changed files with 55 additions and 22 deletions

View File

@@ -54,7 +54,7 @@ if (window.__FRESSH_XTERM_BRIDGE__) {
const enc = new TextEncoder();
// Initial handshake (send once)
setTimeout(() => post({ type: 'initialized' }), 8_000);
setTimeout(() => post({ type: 'initialized' }), 500);
// User input from xterm -> RN (SSH) as UTF-8 bytes (Base64)
term.onData((data /* string */) => {