Added documenation update
This commit is contained in:
parent
469a24b85d
commit
62db60a1d9
@ -134,6 +134,7 @@ typedef struct {
|
|||||||
int input_cursor_y;
|
int input_cursor_y;
|
||||||
bool show_cursor;
|
bool show_cursor;
|
||||||
bool auto_decrypt;
|
bool auto_decrypt;
|
||||||
|
int foreground_color;
|
||||||
} NmsArgs;
|
} NmsArgs;
|
||||||
```
|
```
|
||||||
* `char *src`
|
* `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.
|
* 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`
|
* `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.
|
* 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
|
Assign values to the structure members as needed. Then simply pass a pointer to the structure to the
|
||||||
nms_exec() function:
|
nms_exec() function:
|
||||||
|
Loading…
Reference in New Issue
Block a user