def send_ui_raw(self, command):
		"""Write raw command to howdy-gtk stdin"""
		if self.config.getboolean("debug", "verbose_stamps", fallback=False):
			print("Sending command to howdy-gtk: " + command)

		# Add a newline because the ui reads per line
		command += " \n"

		# If we're connected to the ui
		if self.gtk_proc:
			# Send the command as bytes
			self.gtk_proc.stdin.write(bytearray(command.encode("utf-8")))
			self.gtk_proc.stdin.flush()

			# Write a padding line to force the command through any buffers
			self.gtk_proc.stdin.write(bytearray("P=_PADDING \n".encode("utf-8")))
			self.gtk_proc.stdin.flush()
Write raw command to howdy-gtk stdin
howdy/src/rubberstamps/__init__.py