mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 16:59:43 +02:00
chore: version packages
Release 1.16.6: phone overview started/idle stamps, plus fixes for the selection-dialog keyboard lockout, the accessory bar arrows bypassing the local-echo overlay, and recovered sessions being restamped as newly created on every server restart. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3641,9 +3641,20 @@ Object.assign(CodemanApp.prototype, {
|
||||
// the affordance above; there is deliberately no verb literal here, because
|
||||
// the verb is randomised per build.
|
||||
|
||||
// A visible selection dialog makes its OWN rows actionable, not the whole
|
||||
// screen. Two viewport-wide `some()` tests used to be the entire answer, so
|
||||
// while a Claude question or permission dialog was up EVERY tap in the
|
||||
// terminal (inert transcript, the question title, blank rows) came back
|
||||
// actionable, and the caller blurred on each one. The on-screen keyboard
|
||||
// could then not be opened at all until the dialog was answered, which left
|
||||
// tapping an option row as the only interaction available: the one that
|
||||
// commits an answer. Requiring the TAPPED line to be a numbered row keeps
|
||||
// the dialog's own rows behaving as before (report the tap, keep the
|
||||
// keyboard down) while any other row can still summon the keyboard, which
|
||||
// is how a digit gets typed at a dialog instead of aimed at it.
|
||||
const hasMenuPrompt = lines.some((line) => /^\s*[❯›]\s+\d+[.)]\s/.test(line));
|
||||
const hasMenuChoice = lines.some((line) => /^\s+\d+[.)]\s/.test(line));
|
||||
return hasMenuPrompt && hasMenuChoice;
|
||||
return hasMenuPrompt && hasMenuChoice && /^\s*(?:[❯›]\s*)?\d+[.)]\s/.test(tappedLine);
|
||||
},
|
||||
|
||||
_focusMobileTerminalInput() {
|
||||
|
||||
Reference in New Issue
Block a user