diff --git a/terminatorlib/plugins/custom_commands.py b/terminatorlib/plugins/custom_commands.py index 1b487e72..f8948a26 100755 --- a/terminatorlib/plugins/custom_commands.py +++ b/terminatorlib/plugins/custom_commands.py @@ -127,7 +127,7 @@ class CustomCommandsMenu(plugin.MenuItem): if command[-1] != '\n': command = command + '\n' for terminal in data['terminals']: - terminal.vte.feed_child(command, len(command)) + terminal.vte.feed_child_binary(command.encode(terminal.vte.get_encoding())) def configure(self, widget, data = None): ui = {}