sim/uart: do uart_xmitchars() when tty_txint enabled
to speed up the logout speed
@@ -473,6 +473,11 @@ static void tty_txint(struct uart_dev_s *dev, bool enable)
struct tty_priv_s *priv = dev->priv;
priv->txint = enable;
+
+ if (enable)
+ {
+ uart_xmitchars(dev);
+ }
}
/****************************************************************************
