Skip to content

Commit c474115

Browse files
authored
Merge pull request #577 from crhultay/patch-4
Fix VTXClient Documentation
2 parents dd30631 + 626e16e commit c474115

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

docs/_docs/servers/loginservers/websocket.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,24 @@ webserver, and unpack it to a temporary directory.
7878
7979
````javascript
8080
var vtxdata = {
81-
sysName: "Your Awesome BBS",
82-
wsConnect: "wss://your-hostname.here:8811",
83-
term: "ansi-bbs",
84-
codePage: "CP437",
85-
fontName: "UVGA16",
86-
fontSize: "24px",
87-
crtCols: 80,
88-
crtRows: 25,
89-
crtHistory: 500,
90-
xScale: 1,
91-
initStr: "",
92-
defPageAttr: 0x1010,
93-
defCrsrAttr: ['thick', 'horizontal'],
94-
defCellAttr: 0x0007,
95-
telnet: 1,
96-
autoConnect: 0
81+
sysName: "Your Awesome BBS",
82+
wsConnect: "wss://your-hostname.here:8811",
83+
term: "ansi-bbs",
84+
codePage: "CP437",
85+
fontName: "UVGA16",
86+
fontSize: "24px",
87+
crtCols: 80,
88+
crtRows: 25,
89+
crtHistory: 500,
90+
xScale: 1,
91+
initStr: "",
92+
defPageAttr: 0x1010,
93+
defCrsrAttr: ['thick', 'horizontal'],
94+
defCellAttr: 0x0007,
95+
telnet: 1,
96+
autoConnect: 0,
97+
wsProtocol: 'telnet',
98+
wsDataType: 'arraybuffer',
9799
};
98100
````
99101

0 commit comments

Comments
 (0)