bug fixes

This commit is contained in:
2026-11-22 12:45:26 +01:00
parent 857fbdfe67
commit 798c36ed19
5 changed files with 27 additions and 8 deletions
+1 -1
View File
@@ -42,6 +42,6 @@
"@lucide/svelte": "^1.66.0", "@lucide/svelte": "^1.66.0",
"@wterm/dom": "^0.5.9", "@wterm/dom": "^0.5.9",
"@wterm/svelte": "^0.5.9", "@wterm/svelte": "^0.5.9",
"termos": "file:/home/gornodox/Projects/termos/master/termos-0.1.1.tgz" "termos": "file:./src/lib/termos-0.1.1.tgz"
} }
} }
+5 -5
View File
@@ -18,8 +18,8 @@ importers:
specifier: ^0.5.9 specifier: ^0.5.9
version: 0.5.9(@wterm/dom@0.5.9)(svelte@5.57.3(@typescript-eslint/types@8.72.1)) version: 0.5.9(@wterm/dom@0.5.9)(svelte@5.57.3(@typescript-eslint/types@8.72.1))
termos: termos:
specifier: file:/home/gornodox/Projects/termos/master/termos-0.1.1.tgz specifier: file:./src/lib/termos-0.1.1.tgz
version: file:../termos/master/termos-0.1.1.tgz(@types/node@26.6.6)(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3) version: file:src/lib/termos-0.1.1.tgz(@types/node@26.6.6)(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3)
devDependencies: devDependencies:
'@eslint/js': '@eslint/js':
specifier: ^10.0.1 specifier: ^10.0.1
@@ -1577,8 +1577,8 @@ packages:
resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}
engines: {node: '>=6'} engines: {node: '>=6'}
termos@file:../termos/master/termos-0.1.1.tgz: termos@file:src/lib/termos-0.1.1.tgz:
resolution: {integrity: sha512-TIm6Jk8gglyqmK+M6cwwpEhbYl7E12rK6G7bvil7vjsIdjr1YXYzY60YUyWT30hI7GEwEIHwgGsu+6pVQMJt9Q==, tarball: file:../termos/master/termos-0.1.1.tgz} resolution: {integrity: sha512-TIm6Jk8gglyqmK+M6cwwpEhbYl7E12rK6G7bvil7vjsIdjr1YXYzY60YUyWT30hI7GEwEIHwgGsu+6pVQMJt9Q==, tarball: file:src/lib/termos-0.1.1.tgz}
version: 0.1.1 version: 0.1.1
peerDependencies: peerDependencies:
'@types/node': '*' '@types/node': '*'
@@ -2956,7 +2956,7 @@ snapshots:
tapable@2.3.3: {} tapable@2.3.3: {}
termos@file:../termos/master/termos-0.1.1.tgz(@types/node@26.6.6)(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3): termos@file:src/lib/termos-0.1.1.tgz(@types/node@26.6.6)(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3):
dependencies: dependencies:
tsup: 9.0.0(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3) tsup: 9.0.0(jiti@2.7.0)(postcss@8.5.32)(typescript@6.0.3)
optionalDependencies: optionalDependencies:
+20 -2
View File
@@ -5,7 +5,8 @@
windowCount = $bindable(), windowCount = $bindable(),
windowTitle = $bindable(), windowTitle = $bindable(),
version, version,
hash hash,
add
}: { }: {
username: string; username: string;
theme: string; theme: string;
@@ -13,6 +14,7 @@
windowTitle: string; windowTitle: string;
version: string; version: string;
hash: string; hash: string;
add: () => void;
} = $props(); } = $props();
let now = $state(new Date()); let now = $state(new Date());
@@ -79,7 +81,23 @@
<span class="text-bg4 px-[3.5px] font-mono text-[9.5px] whitespace-nowrap">{uptime}</span> <span class="text-bg4 px-[3.5px] font-mono text-[9.5px] whitespace-nowrap">{uptime}</span>
</div> </div>
<span></span> <button
type="button"
aria-label="New session"
onclick={() => add()}
class="text-fg3 hover:bg-bg1 hover:text-fg2 active:bg-bg2 focus-visible:ring-tyellow grid h-[18px] w-[18px] place-items-center justify-self-center rounded transition-colors focus:outline-none focus-visible:ring-1"
>
<svg
viewBox="0 0 16 16"
class="h-[10px] w-[10px]"
fill="none"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
>
<path d="M8 3.5v9M3.5 8h9" />
</svg>
</button>
<time class="text-bg4 justify-self-end font-mono text-[9.5px] whitespace-nowrap"> <time class="text-bg4 justify-self-end font-mono text-[9.5px] whitespace-nowrap">
<span class="text-fg3 pr-2 font-medium">{weekday}</span><span>{time}</span> <span class="text-fg3 pr-2 font-medium">{weekday}</span><span>{time}</span>
Binary file not shown.
+1
View File
@@ -102,6 +102,7 @@
windowTitle="Termos" windowTitle="Termos"
version="v0.1.1_alpha" version="v0.1.1_alpha"
hash="57773fc2ef" hash="57773fc2ef"
{add}
/> />
</div> </div>
</div> </div>