mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 14:22:51 +00:00
Working xtermjs!
This commit is contained in:
@@ -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 */) => {
|
||||
|
||||
Reference in New Issue
Block a user