automatic EOL for shell commands
@@ -71,6 +71,9 @@ class ShellView (ttk.Frame):
if isinstance(cmd_line, list):
cmd_line = construct_cmd_line(cmd_line)
+ if not cmd_line.endswith("\n"):
+ cmd_line += "\n"
+
self.text.submit_command(cmd_line, ("automagic",))
def restart(self):
