From f7b6ea07bc8f48dd95ae5fc863d785c32e063b5a Mon Sep 17 00:00:00 2001 From: Matthew Rose Date: Sat, 26 Aug 2023 09:21:18 -0400 Subject: [PATCH] Fix Insert Term Name Plugin error The "Insert terminal name" Plugin causes the following traceback Traceback (most recent call last): File "/Users/mattrose/Code/terminator/terminatorlib/terminator.py", line 588, in do_insert_term_name term.feed(name) File "/Users/mattrose/Code/terminator/terminatorlib/terminal.py", line 1709, in feed self.vte.feed_child(text) This PR fixes it so the plugin inserts the terminal name, as intended. --- terminatorlib/terminator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index db3f465f..8a01b6ad 100644 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -585,7 +585,7 @@ class Terminator(Borg): for term in self.get_target_terms(widget): name = term.titlebar.get_custom_string() or term.get_window_title() - term.feed(name) + term.feed(name.encode()) def get_sibling_terms(self, widget): termset = []