From 04bd6935868dad81fb1771ae95bcd57c566bf842 Mon Sep 17 00:00:00 2001 From: Vulcalien Date: Sat, 9 Apr 2022 11:15:36 +0200 Subject: [PATCH] Zoom/maximize with one terminal in notebook tab --- terminatorlib/notebook.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 7daccaa4..4c0b92dc 100644 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -290,7 +290,9 @@ class Notebook(Container, Gtk.Notebook): 'ungroup-tab': top_window.ungroup_tab, 'move-tab': top_window.move_tab, 'tab-new': [top_window.tab_new, widget], - 'navigate': top_window.navigate_terminal} + 'navigate': top_window.navigate_terminal, + 'zoom': top_window.zoom, + 'maximise': [top_window.zoom, False]} if maker.isinstance(widget, 'Terminal'): for signal in signals: