diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 64a14bdd..3dfce41a 100644 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1538,7 +1538,7 @@ class Terminal(Gtk.VBox): def feed(self, text): """Feed the supplied text to VTE""" - self.vte.feed_child(text, len(text)) + self.vte.feed_child_binary(text.encode(self.vte.get_encoding())) def zoom_in(self): """Increase the font size"""