Preserve editing shortcuts outside multi-pane layouts

This commit is contained in:
2026-11-06 18:04:19 +00:00
2 changed files with 35 additions and 0 deletions
@@ -47,6 +47,7 @@ class _ChatWorkspaceState extends State<ChatWorkspace> {
bool _key(KeyEvent event) {
if (!widget.shortcutsEnabled ||
widget.controller.paneCount <= 1 ||
!_focus.hasFocus ||
event is! KeyDownEvent) {
return false;