From 62db60a1d93d9357b7958b9c5c905c8d0c1cffb1 Mon Sep 17 00:00:00 2001 From: Anthony Sterling Date: Mon, 2 May 2016 20:13:15 +0100 Subject: [PATCH] Added documenation update --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 83f6879..c02d404 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ typedef struct { int input_cursor_y; bool show_cursor; bool auto_decrypt; + int foreground_color; } NmsArgs; ``` * `char *src` @@ -149,6 +150,8 @@ Useful for displaying menus: * Set to `true` if you want the cursor to be visible during the text decryption effect. It is set to `false` by default. * `bool auto_decrypt` * Set to `true` to automatically start the decryption effect, eliminating the need for the user to press a key to start it. + * `int foreground_color` + * Use this to assign a default (ncurses) color to the foreground Assign values to the structure members as needed. Then simply pass a pointer to the structure to the nms_exec() function: