home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
31aad69
)
Client: More complete comments.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 14 Nov 2014 13:11:34 +0000
(14:11 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 14 Nov 2014 13:11:34 +0000
(14:11 +0100)
src/client/io.h
patch
|
blob
|
history
diff --git
a/src/client/io.h
b/src/client/io.h
index abfc1533efb200739c6cf2ceace034ec5bddcc71..1e47404bab8a323f8c90f0d8951ee94c6b626569 100644
(file)
--- 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
* 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();
*/
extern char * io_loop();