This commit is contained in:
Chris Wanstrath 2026-02-27 07:34:01 -08:00
parent 661e6f3450
commit 0cde238bc1

View File

@ -38,7 +38,7 @@ export async function action(opts: { json?: boolean }) {
if (sessions.length === 0) { if (sessions.length === 0) {
console.log("◆ No active sessions.") console.log("◆ No active sessions.")
if ((await vm.status()) !== "running") { if ((await vm.status()) !== "running") {
console.log(`${red}VM is not running.${reset}`) console.log(`\n${red}VM is not running.${reset}`)
} }
return return
} }
@ -82,6 +82,6 @@ export async function action(opts: { json?: boolean }) {
console.log(`\n${dim}◯ idle${reset} · ${cyan}◎ active${reset} · ${yellow}◐ unsaved${reset} · ${green}● saved${reset}`) console.log(`\n${dim}◯ idle${reset} · ${cyan}◎ active${reset} · ${yellow}◐ unsaved${reset} · ${green}● saved${reset}`)
if ((await vm.status()) !== "running") { if ((await vm.status()) !== "running") {
console.log(`${red}VM is not running.${reset}`) console.log(`\n${red}VM is not running.${reset}`)
} }
} }