tmux-weblink 1.1.5 → 1.1.6
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/dist/lib/pages/shell.js +9 -4
- package/package.json +1 -1
package/dist/lib/pages/shell.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import{cssVarsStyle as x}from"../theme.js";import{commandbarCSS as g,commandbarHTML as m,commandbarScript as f}from"../commandbar.js";import{newSessionModalCSS as u,newSessionModalHTML as v,newSessionModalScript as h,reducedMotion as y}from"../shared-layout.js";import{icon as n}from"../icons.js";function C(o){return o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function a(o="var(--panel-accent)"){return`box-shadow: 0 0 0 2px ${o}; outline: none;`}function _(o){const{theme:e,commandbarEnabled:t,commandbarSessions:s,agentsEnabled:r,fsRoots:
|
|
1
|
+
import{cssVarsStyle as x}from"../theme.js";import{commandbarCSS as g,commandbarHTML as m,commandbarScript as f}from"../commandbar.js";import{newSessionModalCSS as u,newSessionModalHTML as v,newSessionModalScript as h,reducedMotion as y}from"../shared-layout.js";import{icon as n}from"../icons.js";function C(o){return o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function a(o="var(--panel-accent)"){return`box-shadow: 0 0 0 2px ${o}; outline: none;`}function _(o){const{theme:e,commandbarEnabled:t,commandbarSessions:s,agentsEnabled:r,fsRoots:d,terminalCfg:l,renderer:i,scrollback:p}=o,c=`
|
|
2
2
|
*, *::before, *::after { box-sizing: border-box; }
|
|
3
|
-
html
|
|
3
|
+
html {
|
|
4
4
|
background: var(--page-bg); color: var(--page-fg);
|
|
5
5
|
height: 100%; overflow: hidden;
|
|
6
|
-
|
|
6
|
+
position: fixed; width: 100%;
|
|
7
|
+
}
|
|
8
|
+
body {
|
|
9
|
+
height: 100%; margin: 0; padding: 0; overflow: hidden;
|
|
10
|
+
font-family: var(--font-sans);
|
|
7
11
|
}
|
|
8
12
|
|
|
9
13
|
/* \u2500\u2500 Fixed header \u2500\u2500 */
|
|
@@ -27,6 +31,7 @@ import{cssVarsStyle as x}from"../theme.js";import{commandbarCSS as g,commandbarH
|
|
|
27
31
|
.app-layout {
|
|
28
32
|
display: flex;
|
|
29
33
|
height: 100dvh;
|
|
34
|
+
overflow: hidden;
|
|
30
35
|
padding-top: 48px;
|
|
31
36
|
transition: height 0.05s;
|
|
32
37
|
}
|
|
@@ -336,7 +341,7 @@ import{cssVarsStyle as x}from"../theme.js";import{commandbarCSS as g,commandbarH
|
|
|
336
341
|
.sidebar.collapsed .sidebar-content { display: none; }
|
|
337
342
|
.sidebar.collapsed { max-height: 48px; overflow: hidden; }
|
|
338
343
|
}
|
|
339
|
-
`,k=JSON.stringify(e.terminal).replace(/</g,"\\u003c"),b=JSON.stringify({terminal:
|
|
344
|
+
`,k=JSON.stringify(e.terminal).replace(/</g,"\\u003c"),b=JSON.stringify({terminal:l,scrollback:p,theme:e.terminal,renderer:i,fsRoots:d,agentsEnabled:r,commandbarEnabled:t}).replace(/</g,"\\u003c");return`<!DOCTYPE html>
|
|
340
345
|
<html lang="en">
|
|
341
346
|
<head>
|
|
342
347
|
<meta charset="UTF-8" />
|