fix: resize cols and rows, not the other way around *sigh*
This commit is contained in:
parent
1e86b0e95b
commit
bf1d75a27a
4 changed files with 45 additions and 29 deletions
12
app/routes/ssh/hp_ssh.d.ts
vendored
12
app/routes/ssh/hp_ssh.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue