X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fclient%2Fmain.c;h=d08ac7df59860a202c4d7cac97773c61351f6103;hb=2b2a1e0169b3a863fd87b679d789a4e2b789eb67;hp=9c6a72ac3f19a3c8942d2c89a68955b703935ee7;hpb=1cb57a35a3b3cc4ec8870531ca254a655c0bdda2;p=plomrogue
diff --git a/src/client/main.c b/src/client/main.c
index 9c6a72a..d08ac7d 100644
--- a/src/client/main.c
+++ b/src/client/main.c
@@ -1,8 +1,13 @@
-/* main.c */
+/* main.c
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
+ */
#define _POSIX_C_SOURCE 1 /* sigaction, sigaction() */
#define _DARWIN_C_SOURCE 1 /* SIGWINCH on OS X */
-#include /* keypad() */
+#include /* keypad(), start_color() */
#include /* SIGWINCH, sigaction, sigaction() */
#include /* NULL */
#include /* exit() */
@@ -28,7 +33,7 @@ int main(int argc, char * argv[])
/* Declare hard-coded paths and values here. */
world.path_commands = "confclient/commands";
world.path_interface = "confclient/interface_conf";
- world.winDB.legal_ids = "012ciklm";
+ world.winDB.legal_ids = "012cilm";
char * path_server_in = "server/in";
char * path_server_out = "server/out";
@@ -44,6 +49,7 @@ int main(int argc, char * argv[])
/* Initialize the whole interface. */
world.winDB.t_screen = initscr();
+ start_color();
set_cleanup_flag(CLEANUP_NCURSES);
noecho();
curs_set(0);