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

@@ -100,10 +100,6 @@ class Control {
this.resizer(dim.rows, dim.cols);
}
ui() {
return "Console";
}
enabled() {
this.enable = true;
}
@@ -168,6 +164,10 @@ export class SSH {
return "SSH";
}
ui() {
return "Console";
}
build(data) {
return new Control(data, this.color);
}

View File

@@ -428,10 +428,6 @@ class Control {
this.parser.requestWindowResize();
}
ui() {
return "Console";
}
enabled() {
this.enable = true;
}
@@ -527,6 +523,10 @@ export class Telnet {
return "Telnet";
}
ui() {
return "Console";
}
build(data) {
return new Control(data, this.color);
}