Fix VTXClient Documentation
This commit is contained in:
@@ -78,22 +78,24 @@ webserver, and unpack it to a temporary directory.
|
|||||||
|
|
||||||
````javascript
|
````javascript
|
||||||
var vtxdata = {
|
var vtxdata = {
|
||||||
sysName: "Your Awesome BBS",
|
sysName: "Your Awesome BBS",
|
||||||
wsConnect: "wss://your-hostname.here:8811",
|
wsConnect: "wss://your-hostname.here:8811",
|
||||||
term: "ansi-bbs",
|
term: "ansi-bbs",
|
||||||
codePage: "CP437",
|
codePage: "CP437",
|
||||||
fontName: "UVGA16",
|
fontName: "UVGA16",
|
||||||
fontSize: "24px",
|
fontSize: "24px",
|
||||||
crtCols: 80,
|
crtCols: 80,
|
||||||
crtRows: 25,
|
crtRows: 25,
|
||||||
crtHistory: 500,
|
crtHistory: 500,
|
||||||
xScale: 1,
|
xScale: 1,
|
||||||
initStr: "",
|
initStr: "",
|
||||||
defPageAttr: 0x1010,
|
defPageAttr: 0x1010,
|
||||||
defCrsrAttr: ['thick', 'horizontal'],
|
defCrsrAttr: ['thick', 'horizontal'],
|
||||||
defCellAttr: 0x0007,
|
defCellAttr: 0x0007,
|
||||||
telnet: 1,
|
telnet: 1,
|
||||||
autoConnect: 0
|
autoConnect: 0,
|
||||||
|
wsProtocol: 'telnet',
|
||||||
|
wsDataType: 'arraybuffer',
|
||||||
};
|
};
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user