From 4438d108ea0242ed0a17207ae4cb1f4b30ce2f5b Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 14 Nov 2014 14:11:34 +0100 Subject: [PATCH] Client: More complete comments. --- src/client/io.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/io.h b/src/client/io.h index abfc153..1e47404 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 happens. */ extern char * io_loop(); -- 2.30.2