]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/blobdiff - mt_server.c
Use correct URL of the rtime server
[coffee/mt-apps.git] / mt_server.c
index f42e06dc0b2e4732ba6afc2409243017cac31efd..7abac686d71a0e64f117104955ddb5fd68d13729 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "mt_server.h"
 #include "signal_exit.h"
+#include "mt_blank.h"
 
 char *new_line()
 {
@@ -240,6 +241,9 @@ static void fd_cb(EV_P_ ev_io *w_, int revents)
     read(w->w.fd, pos, 1);
 
     if (*pos == '\n' || (w->pos - w->text) == INPUT_LINE_LENGTH) {
+#ifdef NO_MAIN
+       mt_blank_wake();
+#endif
         *pos = 0;
         char *line = new_line();
         if (line) {