+
+ /*
+ * If that wasn't true, then we expect ldisc->term to be non-NULL
+ * hereafter. (The only front ends which have an ldisc but no term
+ * are those which do networking but no terminal emulation, in
+ * which case they need the above if statement to handle
+ * ldisc_updates passed from the back ends, but should never send
+ * any actual input through this function.)
+ */
+ assert(ldisc->term);
+