Compare commits
No commits in common. "a545c3e056412230a682d938d42d69a314f4ab8d" and "2097e37c5854ff8a20cefee18f116b54f61e51db" have entirely different histories.
a545c3e056
...
2097e37c58
|
|
@ -1,15 +0,0 @@
|
||||||
import { NOSE_STARTED, NOSE_SYS, NOSE_DIR, GIT_SHA } from "@/config"
|
|
||||||
|
|
||||||
export default function () {
|
|
||||||
return [
|
|
||||||
`NODE_ENV=${process.env.NODE_ENV || "(none)"}`,
|
|
||||||
`BUN_HOT=${process.env.BUN_HOT || "(none)"}`,
|
|
||||||
`PORT=${process.env.PORT || "(none)"}`,
|
|
||||||
`USER=${process.env.USER || "(none)"}`,
|
|
||||||
`PWD=${process.env.PWD || "(none)"}`,
|
|
||||||
`NOSE_STARTED=${NOSE_STARTED}`,
|
|
||||||
`NOSE_SYS=${NOSE_SYS}`,
|
|
||||||
`NOSE_DIR=${NOSE_DIR}`,
|
|
||||||
`GIT_SHA=${GIT_SHA.slice(0, 8)}`,
|
|
||||||
].join("\n")
|
|
||||||
}
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
import { NOSE_STARTED } from "@/config"
|
|
||||||
|
|
||||||
export default function () {
|
|
||||||
const ms = Date.now() - NOSE_STARTED
|
|
||||||
const sec = Math.floor(ms / 1000)
|
|
||||||
const min = Math.floor(sec / 60)
|
|
||||||
const hrs = Math.floor(min / 60)
|
|
||||||
|
|
||||||
return `${hrs}h ${min % 60}m ${sec % 60}s`
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import { resolve, join } from "node:path"
|
import { resolve, join } from "node:path"
|
||||||
import { $ } from "bun"
|
|
||||||
|
|
||||||
export const NOSE_ICON = ` ͡° ͜ʖ ͡°`
|
export const NOSE_ICON = ` ͡° ͜ʖ ͡°`
|
||||||
|
|
||||||
|
|
@ -8,7 +7,4 @@ export const NOSE_SYS_BIN = join(NOSE_SYS, "bin")
|
||||||
|
|
||||||
export const NOSE_DIR = resolve("..")
|
export const NOSE_DIR = resolve("..")
|
||||||
export const NOSE_BIN = join(NOSE_DIR, "bin")
|
export const NOSE_BIN = join(NOSE_DIR, "bin")
|
||||||
export const NOSE_WWW = join(NOSE_DIR, "www")
|
export const NOSE_WWW = join(NOSE_DIR, "www")
|
||||||
|
|
||||||
export const NOSE_STARTED = Date.now()
|
|
||||||
export const GIT_SHA = (await $`git rev-parse HEAD`.text()).trim()
|
|
||||||
|
|
@ -108,14 +108,6 @@
|
||||||
|
|
||||||
/* The scrollback shows your previous inputs and outputs. */
|
/* The scrollback shows your previous inputs and outputs. */
|
||||||
#scrollback {
|
#scrollback {
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
/* Firefox */
|
|
||||||
scrollbar-width: none;
|
|
||||||
|
|
||||||
/* IE/Edge */
|
|
||||||
-ms-overflow-style: none;
|
|
||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
@ -123,11 +115,6 @@
|
||||||
font-size: var(--cli-font-size);
|
font-size: var(--cli-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#scrollback::-webkit-scrollbar {
|
|
||||||
/* Chrome, Safari, Opera */
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
[data-mode="cinema"] #scrollback {
|
[data-mode="cinema"] #scrollback {
|
||||||
max-height: 505px;
|
max-height: 505px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user