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
@@ -68,6 +68,12 @@ void main() {
await harness.focus(tester);
await _openFind(tester);
expect(find.byKey(_field), findsOneWidget);
await tester.pump();
// The field has the keyboard, which the terminal held.
expect(
tester.widget<TextField>(find.byKey(_field)).focusNode!.hasFocus,
isTrue,
);
// The keys went to the find bar, not the shell.
expect(harness.typed, isEmpty);
await tester.enterText(find.byKey(_field), 'needle');