Skip to content

Commit

Permalink
update ui / xterm
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Nov 7, 2023
1 parent d937c67 commit df46598
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
34 changes: 17 additions & 17 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"semver": "7.5.4",
"socket.io-client": "2.5.0",
"tslib": "2.6.2",
"xterm": "4.19.0",
"xterm-addon-fit": "0.5.0",
"xterm-addon-web-links": "0.6.0",
"xterm": "5.3.0",
"xterm-addon-fit": "0.8.0",
"xterm-addon-web-links": "0.9.0",
"zone.js": "0.11.8"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export class HomebridgeLogsWidgetComponent implements OnInit, OnDestroy {
if (this.widget.fontSize !== this.fontSize || this.widget.fontWeight !== this.fontWeight) {
this.fontSize = this.widget.fontSize;
this.fontWeight = this.widget.fontWeight;
this.$log.term.setOption('fontSize', this.widget.fontSize);
this.$log.term.setOption('fontWeight', this.widget.fontWeight);
this.$log.term.options.fontSize = this.widget.fontSize;
this.$log.term.options.fontWeight = this.widget.fontWeight;
this.resizeEvent.next(undefined);
setTimeout(() => {
this.$log.term.scrollToBottom();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export class TerminalWidgetComponent implements OnInit, OnDestroy {
if (this.widget.fontSize !== this.fontSize || this.widget.fontWeight !== this.fontWeight) {
this.fontSize = this.widget.fontSize;
this.fontWeight = this.widget.fontWeight;
this.$terminal.term.setOption('fontSize', this.widget.fontSize);
this.$terminal.term.setOption('fontWeight', this.widget.fontWeight);
this.$terminal.term.options.fontSize = this.widget.fontSize;
this.$terminal.term.options.fontWeight = this.widget.fontWeight;
this.resizeEvent.next(undefined);
setTimeout(() => {
this.$terminal.term.scrollToBottom();
Expand Down

0 comments on commit df46598

Please sign in to comment.