resize.c
skylib_fluffos_v3/mudlib/cmds/player/resize.c · 171 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
#include <telnet.h>
inherit COMMAND_BASE;
mixed cmd(string str) {
printf("%c%c%c", IAC, DO, TELOPT_NAWS);
write("Okay, resizing your terminal...\n");
return 1;
}