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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user