Add focus button.

This commit is contained in:
Greyson Parrelli
2026-08-12 08:05:23 -04:00
parent dd60e52005
commit dca5ec0b7d
6 changed files with 218 additions and 7 deletions
+4
View File
@@ -953,6 +953,10 @@ fn onShortcut(
if (self.activeTab()) |tab| self.beginRename(tab);
return 1;
},
gdk.KEY_Z, gdk.KEY_z => {
if (self.activeTab()) |tab| tab.view.toggleZoomFocused();
return 1;
},
gdk.KEY_V, gdk.KEY_v => {
// Only a terminal needs us to encode a paste for it. A web
// pane has its own clipboard handling, so the key is left