mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
initialize lhe (#364)
This commit is contained in:
parent
b5d481734f
commit
089862d990
@ -188,6 +188,14 @@ class Model {
|
|||||||
document.addEventListener("keydown", this.docKeyDownHandler.bind(this));
|
document.addEventListener("keydown", this.docKeyDownHandler.bind(this));
|
||||||
document.addEventListener("selectionchange", this.docSelectionChangeHandler.bind(this));
|
document.addEventListener("selectionchange", this.docSelectionChangeHandler.bind(this));
|
||||||
setTimeout(() => this.getClientDataLoop(1), 10);
|
setTimeout(() => this.getClientDataLoop(1), 10);
|
||||||
|
this.lineHeightEnv = {
|
||||||
|
// defaults
|
||||||
|
fontSize: 12,
|
||||||
|
fontSizeSm: 10,
|
||||||
|
lineHeight: 15,
|
||||||
|
lineHeightSm: 13,
|
||||||
|
pad: 7,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
static getInstance(): Model {
|
static getInstance(): Model {
|
||||||
|
Loading…
Reference in New Issue
Block a user