]> git.proxmox.com Git - mirror_xterm.js.git/blob - demo/index.html
764c8442ef1ec6a92a1f71c812f80ff9a5042752
[mirror_xterm.js.git] / demo / index.html
1 <!doctype html>
2 <html>
3 <head>
4 <title>xterm.js demo</title>
5 <link rel="stylesheet" href="/build/xterm.css" />
6 <link rel="stylesheet" href="/build/addons/fullscreen/fullscreen.css" />
7 <link rel="stylesheet" href="style.css" />
8 <script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/1.0.0/fetch.min.js"></script>
9 <script src="/build/xterm.js" ></script>
10 <script src="/build/addons/attach/attach.js" ></script>
11 <script src="/build/addons/fit/fit.js" ></script>
12 <script src="/build/addons/fullscreen/fullscreen.js" ></script>
13 </head>
14 <body>
15 <h1>xterm.js: xterm, in the browser</h1>
16 <div id="terminal-container"></div>
17 <div>
18 <h2>Options</h2>
19 <p>
20 <label><input type="checkbox" id="option-cursor-blink"> cursorBlink</label>
21 </p>
22 <p>
23 <label>Scrollback <input type="number" id="option-scrollback" value="1000" /></label>
24 </p>
25 <div>
26 <h3>Size</h3>
27 <div>
28 <div style="display: inline-block; margin-right: 16px;">
29 <label for="cols">Columns</label>
30 <input type="number" id="cols" />
31 </div>
32 <div style="display: inline-block; margin-right: 16px;">
33 <label for="rows">Rows</label>
34 <input type="number" id="rows" />
35 </div>
36 </div>
37 </div>
38 </div>
39 <p><strong>Attention:</strong> The demo is a barebones implementation and is designed for xterm.js evaluation purposes only. Exposing the demo to the public as is would introduce security risks for the host.</p>
40 <script src="main.js" defer ></script>
41 </body>
42 </html>