fix: deprecated term.setOption
This commit is contained in:
parent
c801ef9e58
commit
d903da87c4
2 changed files with 5 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
@ -174,10 +174,10 @@ socket.on('connect', () => {
|
|||
socket.on(
|
||||
'setTerminalOpts',
|
||||
(data: { cursorBlink: any; scrollback: any; tabStopWidth: any; bellStyle: any }) => {
|
||||
term.setOption('cursorBlink', data.cursorBlink);
|
||||
term.setOption('scrollback', data.scrollback);
|
||||
term.setOption('tabStopWidth', data.tabStopWidth);
|
||||
term.setOption('bellStyle', data.bellStyle);
|
||||
term.options.cursorBlink = data.cursorBlink;
|
||||
term.options.scrollback = data.scrollback;
|
||||
term.options.tabStopWidth = data.tabStopWidth;
|
||||
term.options.bellStyle = data.bellStyle;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue