Turned off wrap when possible on ICS servers.
[xboard.git] / backend.c
index 2965507..6f17d9b 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -2214,6 +2214,7 @@ read_from_ics(isr, closure, data, count, error)
                  sprintf(str,
                          "/set-quietly interface %s\n/set-quietly style 12\n",
                          programVersion);
+                 strcat(str, "/set-quietly wrap 0\n");
 
                } else if (ics_type == ICS_CHESSNET) {
                  sprintf(str, "/style 12\n");
@@ -2224,10 +2225,11 @@ read_from_ics(isr, closure, data, count, error)
 #ifdef WIN32
                  strcat(str, "$iset nohighlight 1\n");
 #endif
+                 strcat(str, "$iset nowrap 1\n");
                  strcat(str, "$iset lock 1\n$style 12\n");
-                 NotifyFrontendLogin();
                }
                SendToICS(str);
+               NotifyFrontendLogin();
                intfSet = TRUE;
            }