fix: resize cols and rows, not the other way around *sigh*

This commit is contained in:
Aarnav Tale 2025-06-18 13:24:34 -04:00
parent 1e86b0e95b
commit bf1d75a27a
No known key found for this signature in database
4 changed files with 45 additions and 29 deletions

View file

@ -46,18 +46,6 @@ interface XtermConfig {
OnDisconnect: () => void;
}
// interface SSHTerminalConfig {
// writeFn: (data: string) => void;
// writeErrorFn: (error: string) => void;
// setReadFn: (cb: (input: string) => void) => void;
// rows: number;
// cols: number;
// timeoutSeconds?: number;
// onConnectionProgress: (message: string) => void;
// onConnected: () => void;
// onDone: () => void;
// }
interface SSHSession {
Close(): boolean;
Resize(rows: number, cols: number): boolean;