thebird 1.2.81 → 1.2.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/index.html +1 -1
- package/docs/shell.js +1 -2
- package/package.json +1 -1
package/docs/index.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<body>
|
|
12
12
|
<div style="display:flex;flex-direction:column;height:100%">
|
|
13
13
|
<div class="tui-header"><pre class="logo" style="margin:0;padding:2px 1ch"> ▀█▀ █░█ █▀▀ █▄▄ █ █▀█ █▀▄ <span class="ver">v1.2</span>
|
|
14
|
-
█ █▀█ ██▄ █▄█ █ █▀▄ █▄▀ <span style="color:#1a9a1a">
|
|
14
|
+
█ █▀█ ██▄ █▄█ █ █▀▄ █▄▀ <span style="color:#1a9a1a">instant posix js</span></pre></div>
|
|
15
15
|
<div class="tui-tabs">
|
|
16
16
|
<button id="tab-chat" class="tui-tab active" onclick="switchTab('chat')">Chat</button>
|
|
17
17
|
<button id="tab-term" class="tui-tab" onclick="switchTab('term')">Terminal</button>
|
package/docs/shell.js
CHANGED
|
@@ -35,6 +35,7 @@ export function createShell({ term, onPreviewWrite }) {
|
|
|
35
35
|
const toKey = p => p.replace(/^\//, '');
|
|
36
36
|
const snap = () => window.__debug.idbSnapshot || {};
|
|
37
37
|
|
|
38
|
+
let expandTokens, captureRun;
|
|
38
39
|
const BUILTINS = makeBuiltins(ctx, actor, invokeBuiltin);
|
|
39
40
|
ctx.builtinsRef = BUILTINS;
|
|
40
41
|
const _exp = makeExpander(ctx, l => captureRun(l), t => parseRedirect(t));
|
|
@@ -55,8 +56,6 @@ export function createShell({ term, onPreviewWrite }) {
|
|
|
55
56
|
const runNode = makeNodeRunner(ctx, actor);
|
|
56
57
|
const runNpmResult = makeNpmResultRunner(ctx, line => run(line));
|
|
57
58
|
|
|
58
|
-
let expandTokens, captureRun;
|
|
59
|
-
|
|
60
59
|
async function captureFn(fn) {
|
|
61
60
|
let out = ''; const orig = term.write.bind(term); term.write = s => { out += s; };
|
|
62
61
|
try { await fn(); } finally { term.write = orig; }
|
package/package.json
CHANGED