Further improve the remote font intergation: Better preload strategy, better loading and UI interation.

This commit is contained in:
NI
2019-12-13 14:35:23 +08:00
parent a5696d6b63
commit c018c7b4be
12 changed files with 223 additions and 78 deletions

View File

@@ -487,7 +487,7 @@ class Wizard {
credential: ""
};
this.step = subs;
this.controls = controls;
this.controls = controls.get("SSH");
this.history = history;
this.step.resolve(this.stepInitialPrompt());
@@ -497,6 +497,10 @@ class Wizard {
return this.hasStarted;
}
control() {
return this.controls;
}
close() {
this.step.resolve(
this.stepErrorDone(
@@ -603,7 +607,7 @@ class Wizard {
new command.Result(
configInput.user + "@" + configInput.host,
self.info,
self.controls.get("SSH", {
self.controls.build({
charset: configInput.charset,
send(data) {
return commandHandler.sendData(data);
@@ -615,7 +619,8 @@ class Wizard {
return commandHandler.sendResize(rows, cols);
},
events: commandHandler.events
})
}),
self.controls.ui()
)
)
);