robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

bfredlMerge pull request #40772 from Rawan10101/wasm-browser0abc9ccc19

master
1.1 KiB53 linesraw
1<!doctype html>
2<html>
3  <head>
4    <meta charset="utf-8" />
5    <title>nvim.wasm RPC client</title>
6    <link rel="stylesheet" href="style.css" />
7
8    <style>
9      #grid {
10        font-family: "SFMono-Regular", Menlo, Consolas, monospace;
11        font-size: 14px;
12        line-height: 1.35;
13        white-space: pre;
14        background: #050912;
15        color: #dfe5f1;
16        border: 1px solid #2a3346;
17        border-radius: 8px;
18        padding: 8px;
19        outline: none;
20        overflow: auto;
21      }
22
23      #grid:focus {
24        border-color: #5ad1ff;
25      }
26
27      .cursor {
28        outline: 1px solid currentColor;
29      }
30
31      #bar {
32        display: none;
33      }
34    </style>
35  </head>
36
37  <body>
38    <div id="grid" tabindex="0" aria-label="Neovim grid"></div>
39
40    <div id="bar">
41      <span id="status">booting…</span>
42    </div>
43
44    <script
45      crossorigin="anonymous"
46      src="https://cdn.jsdelivr.net/npm/msgpackr/dist/index.js"
47    ></script>
48    <script src="msgpack.js"></script>
49    <script src="msgpackrpc.js"></script>
50    <script src="rpc.js"></script>
51    <script src="app.js"></script>
52  </body>
53</html>