mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
ssh: allow empty keyb-interactive responses - fixes #5619
This commit is contained in:
parent
f6eaff355b
commit
b469dd603b
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ export class KeyboardInteractivePrompt {
|
|||
public instruction: string,
|
||||
public prompts: Prompt[],
|
||||
private callback: (_: string[]) => void,
|
||||
) { }
|
||||
) {
|
||||
this.responses = new Array(this.prompts.length).fill('')
|
||||
}
|
||||
|
||||
respond (): void {
|
||||
this.callback(this.responses)
|
||||
|
|
Loading…
Reference in a new issue