Skip to content

Commit a28adc8

Browse files
authored
chore: correct key combo for linux (#110)
1 parent 481db8b commit a28adc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/app/view/mouse_and_keyboard_command_wrapper.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ class MouseAndKeyboardCommandWrapper extends StatelessWidget {
1616
Widget build(BuildContext context) => Shortcuts(
1717
shortcuts: <LogicalKeySet, Intent>{
1818
LogicalKeySet(LogicalKeyboardKey.meta, LogicalKeyboardKey.keyV):
19-
const _PasteIntent(),
19+
const _PasteIntent(), //For Mac
20+
LogicalKeySet(LogicalKeyboardKey.control, LogicalKeyboardKey.keyV):
21+
const _PasteIntent(), // For Windows/Linux
2022
},
2123
child: Actions(
2224
actions: <Type, Action<Intent>>{

0 commit comments

Comments
 (0)