fix exception when feeding terminal number to terminal

This commit is contained in:
Matt Rose 2020-04-21 12:54:56 -04:00
parent fcf26f032c
commit 4c19ec151c
1 changed files with 1 additions and 1 deletions

View File

@ -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"""