Skip to content

Commit

Permalink
Fix ctrl+K on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ferraridamiano committed Jan 5, 2025
1 parent 133d429 commit cd17eab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pages/app_scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ class AppScaffold extends ConsumerWidget {
shortcuts: <LogicalKeySet, Intent>{
LogicalKeySet(LogicalKeyboardKey.control, LogicalKeyboardKey.keyK):
const ActivateIntent(),
// Workaround for linux platform. See github.com/flutter/flutter/issues/156806
LogicalKeySet(LogicalKeyboardKey.control, LogicalKeyboardKey.keyK,
LogicalKeyboardKey.numLock): const ActivateIntent(),
},
child: Actions(
actions: <Type, Action<Intent>>{
Expand Down

0 comments on commit cd17eab

Please sign in to comment.