diff options
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py index 78663419..8760abe8 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2589,9 +2589,14 @@ class XMLTab(Tab): self.key_func['^I'] = self.completion self.key_func["KEY_DOWN"] = self.on_scroll_down self.key_func["KEY_UP"] = self.on_scroll_up + self.key_func["^K"] = self.on_freeze self.key_func["/"] = self.on_slash self.resize() + def on_freeze(self): + self.text_win.toggle_lock() + self.refresh() + def on_slash(self): """ '/' is pressed, activate the input |