From 0f05cd8c8bc8077c4f5e425913f5dad6a4985eec Mon Sep 17 00:00:00 2001 From: Matt Rose Date: Sat, 21 Dec 2019 03:37:37 +0000 Subject: [PATCH] Fix for Custom command plugin don't work * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953153 * https://bugzilla.redhat.com/show_bug.cgi?id=1573927 --- terminatorlib/plugins/custom_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {}