This commit is contained in:
2026-04-10 10:28:01 -04:00
Unverified
parent 19f522fa8e
commit fc7b02051a

View File

@@ -16,7 +16,7 @@ export default async function Command() {
const spaces = JSON.parse(spacesOutput); const spaces = JSON.parse(spacesOutput);
const currentSpace = JSON.parse(spaceOutput); const currentSpace = JSON.parse(spaceOutput);
if (spaces.length - currentSpace.index > 2) { if (spaces.length - currentSpace.index > 1) {
const { stderr: stderr2 } = await runYabaiCommand(`-m space last --move ${currentSpace.index + 1}`); const { stderr: stderr2 } = await runYabaiCommand(`-m space last --move ${currentSpace.index + 1}`);
if (stderr2) { if (stderr2) {
console.log(stderr2); console.log(stderr2);