Skip to content

Commit

Permalink
Merge pull request #856 from vssdeo/852-terminator_py_get_focussed_te…
Browse files Browse the repository at this point in the history
…rminal_always_returns_none

[bug 852] - 852-terminator_py_get_focussed_terminal_always_returns_none
  • Loading branch information
mattrose authored Feb 18, 2024
2 parents 67e9f3c + 03e5769 commit 5ef1131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminatorlib/terminator.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def get_target_terms(self, widget):
def get_focussed_terminal(self):
"""iterate over all the terminals to find which, if any, has focus"""
for terminal in self.terminals:
if terminal.has_focus():
if terminal.get_vte().has_focus():
return(terminal)
return(None)

Expand Down

0 comments on commit 5ef1131

Please sign in to comment.