small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

fix(terminal): never confirm a restart prompt that was cancelled

ConfirmRestart returned (true, Canceled) when y was typed before ^C. Its one caller reads the error first, so no restart happened, but the answer contradicted the cancellation and the next caller could act on it. A cancelled prompt now answers false.


Author aly.codes
Date Commit Parent df3fb049
+8 -5
2 changed files
+8 -5
2 changed files