]> git.proxmox.com Git - mirror_xterm.js.git/blob - demo/index.html
Refactor TS build and fix testing
[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 <label><input type="checkbox" id="option-cursor-blink"> cursorBlink</label>
20 <div>
21 <h3>Size</h3>
22 <div>
23 <div style="display: inline-block; margin-right: 16px;">
24 <label for="cols">Columns</label>
25 <input type="number" id="cols" />
26 </div>
27 <div style="display: inline-block; margin-right: 16px;">
28 <label for="rows">Rows</label>
29 <input type="number" id="rows" />
30 </div>
31 </div>
32 </div>
33 </div>
34 <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>
35 <script src="main.js" defer ></script>
36 </body>
37 </html>