Change review status icon from ⦿ to ⊛
Improve visual distinction from the saved status icon (●)
This commit is contained in:
parent
f9d3428195
commit
727920c206
|
|
@ -74,7 +74,7 @@ export async function action(opts: { json?: boolean }) {
|
||||||
|
|
||||||
const styleDefs: [string, string, string][] = [
|
const styleDefs: [string, string, string][] = [
|
||||||
["idle", dim, "◯"], ["active", cyan, "◎"], ["dirty", yellow, "◐"],
|
["idle", dim, "◯"], ["active", cyan, "◎"], ["dirty", yellow, "◐"],
|
||||||
["saved", green, "●"], ["review", magenta, "⦿"],
|
["saved", green, "●"], ["review", magenta, "⊛"],
|
||||||
]
|
]
|
||||||
const styles = Object.fromEntries(
|
const styles = Object.fromEntries(
|
||||||
styleDefs.map(([k, c, ch]) => [k, { icon: `${c}${ch}${reset}`, color: c }])
|
styleDefs.map(([k, c, ch]) => [k, { icon: `${c}${ch}${reset}`, color: c }])
|
||||||
|
|
@ -94,7 +94,7 @@ export async function action(opts: { json?: boolean }) {
|
||||||
console.log(`${icon} ${bc}${s.branch.padEnd(branchWidth)}${reset} ${dim}${truncated}${reset}`)
|
console.log(`${icon} ${bc}${s.branch.padEnd(branchWidth)}${reset} ${dim}${truncated}${reset}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`\n${dim}◯ idle${reset} · ${cyan}◎ active${reset} · ${yellow}◐ unsaved${reset} · ${green}● saved${reset} · ${magenta}⦿ review${reset}`)
|
console.log(`\n${dim}◯ idle${reset} · ${cyan}◎ active${reset} · ${yellow}◐ unsaved${reset} · ${green}● saved${reset} · ${magenta}⊛ review${reset}`)
|
||||||
|
|
||||||
if ((await vm.status()) !== "running") {
|
if ((await vm.status()) !== "running") {
|
||||||
console.log(`\n${red}VM is not running.${reset}`)
|
console.log(`\n${red}VM is not running.${reset}`)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user