MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: no newline
Rene van der Meer writes:
> Is there a way to get the LambdaMOO server to omit the newline at the end of
> a line?
Yes: you put the connection into binary mode, write the output (re-encoded into
binary string), and then put the connection back into normal mode:
set_connection_option(conn, "binary", 1);
notify(conn, encode_binary("My prompt:"));
set_connection_option(conn, "binary", 0);
References:
- no newline
- From: Rene van der Meer <dalbien@mo.net>
Home |
Subject Index |
Thread Index