Open Chat with Cmd+K as well as Ctrl+K

Cmd is the natural modifier on a Mac. Like Option+K, it also opens Chat
from the terminal, where Ctrl+K stays kill-line.
This commit is contained in:
2026-11-13 16:02:31 +00:00
parent ccc80a9a8d
commit c3c2c1bbc9
5 changed files with 75 additions and 48 deletions
@@ -33,7 +33,7 @@ void main() {
web: false,
).entries.firstWhere((entry) => entry.action == 'Open Chat');
expect(openChat(TargetPlatform.macOS).keys, 'Option+K, Ctrl+K');
expect(openChat(TargetPlatform.macOS).keys, 'Option+K, Cmd+K, Ctrl+K');
final linux = openChat(TargetPlatform.linux);
expect(linux.keys, 'Alt+K, Ctrl+K');
expect(linux.caveat, contains('kill-line'));