cli: terminal app follow-up, narrow-terminal guard test, hidden-box way out and width tests (#1562)
Row 69, built by Darkwing, approved by Dewey (comment 28048) and Filbert
(comment 28055) on manifest c68e6582. Sage gate on c6711453: cli 123/0,
queue 150/0, every scripts suite green.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -377,7 +377,9 @@ function overlayBox(o, cols, room) {
|
||||
if (o.kind === "help") return box("help", HELP, Math.min(84, cols - 2));
|
||||
const w = Math.min(84, cols - 2);
|
||||
if (o.kind === "decide") {
|
||||
return decideBox(o, w, room) ?? box("decide", [["Too small to show this decision.", "warning"], o.asking ? "Any key answers No." : ["resolving…", "muted"]], w);
|
||||
// The way out fits the 34 cells a 40-column box has, so the hidden box
|
||||
// is never cut.
|
||||
return decideBox(o, w, room) ?? box("decide", [["Too small to show this decision.", "warning"], o.asking ? "Any key answers No." : ["resolving…", "muted"], "Resize, or use mosaic decide."], w);
|
||||
}
|
||||
if (o.kind === "unknown") {
|
||||
return box("outcome unknown", [[o.message, "warning"], "", "Nothing was retried, and the choice was not sent twice.", "", "v open the trail r re-read the inbox Esc back"], w);
|
||||
|
||||
Reference in New Issue
Block a user