mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-03 17:34:23 +01:00
build(deps): [security] bump elliptic from 6.5.3 to 6.5.4 in /html (#621)
* build(deps): [security] bump elliptic from 6.5.3 to 6.5.4 in /html Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.** - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * html: gts fix Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
This commit is contained in:
committed by
GitHub
parent
cbb31ea4aa
commit
3a0aa74207
@@ -285,11 +285,15 @@ export class Xterm extends Component<Props> {
|
||||
|
||||
const { socket, textEncoder, terminal, fitAddon, overlayAddon } = this;
|
||||
const dims = fitAddon.proposeDimensions();
|
||||
socket.send(textEncoder.encode(JSON.stringify({
|
||||
AuthToken: this.token,
|
||||
columns: dims.cols,
|
||||
rows: dims.rows,
|
||||
})));
|
||||
socket.send(
|
||||
textEncoder.encode(
|
||||
JSON.stringify({
|
||||
AuthToken: this.token,
|
||||
columns: dims.cols,
|
||||
rows: dims.rows,
|
||||
})
|
||||
)
|
||||
);
|
||||
|
||||
if (this.reconnect) {
|
||||
terminal.reset();
|
||||
|
||||
Reference in New Issue
Block a user