Terminal: find field takes the keyboard; docs, capture kit right-click

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 00:52:19 +00:00
parent e65354496a
commit 9ab7f50cce
7 changed files with 101 additions and 3 deletions
@@ -38,6 +38,11 @@ mixin ChatShellTerminalFindHost<T extends StatefulWidget> on State<T> {
current: scheme.tertiary.withValues(alpha: 0.6),
);
});
// The field's autofocus would not take the keyboard from the terminal,
// which holds it in the same scope.
WidgetsBinding.instance.addPostFrameCallback((_) {
if (mounted && _find != null) _findFocus.requestFocus();
});
}
void _closeFind() {