X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fclient%2Fio.h;h=36d04c6fb7633785538d6d0d6761265b7ef27d8f;hb=72f3dbee9e1c9c2a832b13b057f004fe023d0e11;hp=abfc1533efb200739c6cf2ceace034ec5bddcc71;hpb=31aad69cad9823763b416c13811d472a14d25375;p=plomrogue diff --git a/src/client/io.h b/src/client/io.h index abfc153..36d04c6 100644 --- a/src/client/io.h +++ b/src/client/io.h @@ -30,7 +30,10 @@ extern void send(char * msg); * appropriate quit message to write to stdout when the client winds down. Call * reset_windows() on receiving a SIGWINCH. Abort on assumed server death if the * server's out file does not get updated, even on PING requests. Re-focus map - * view on player if world.focus_each_turn is set. + * view on player if world.focus_each_turn is set. Messages from the out file + * are put together on the queue first, from which only complete (\n-delimited) + * messages are read. Queues of messages are worked through completely / emptied + * before any re-drawing or further server polling happens. */ extern char * io_loop();