mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-09 23:34:26 +00:00
parent
603c65063b
commit
f157dbe9d3
@ -78,6 +78,10 @@ export class Xterm {
|
|||||||
Object.keys(value).forEach((key) => {
|
Object.keys(value).forEach((key) => {
|
||||||
if (key == "EnableWebGL" && key) {
|
if (key == "EnableWebGL" && key) {
|
||||||
this.term.loadAddon(new WebglAddon());
|
this.term.loadAddon(new WebglAddon());
|
||||||
|
} else if (key == "font-size") {
|
||||||
|
this.term.setOption("fontSize", value[key])
|
||||||
|
} else if (key == "font-family") {
|
||||||
|
this.term.setOption("fontFamily", value[key])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user