Resetting the mode to text on every write means that if you're
using a text plugin and X starts, X's VT keeps getting reset back to
KD_TEXT since those plugins don't stop writing on deactivate (they
have no renderer).
There's no reason to set this mode here anyway; all paths to using
those plugins already do this.
vasprintf (&string, format, args);
va_end (args);
- if (ply_terminal_is_vt (display->terminal))
- ply_terminal_set_mode (display->terminal, PLY_TERMINAL_MODE_TEXT);
write (fd, string, strlen (string));
free (string);
}