diff options
author | Andrés <andmarti@gmail.com> | 2021-03-12 16:27:23 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-12 16:27:23 -0300 |
commit | 45326a5b5eb8fcff6fc830e45af97e1b7200375e (patch) | |
tree | 733c392885416f2c6e4c41a315ee6a2146cee658 /src/main.c | |
parent | 05886dba2a9e10a4a2b74921933c9e3e525cb3fb (diff) |
work on RGB colors. added DEFINE_COLOR command
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -162,7 +162,7 @@ extern char * rev; /** * \brief The main() function - * + * * \details The main() function of sc-im. It is the first function called when * the applicaiton is executed. * @@ -230,7 +230,6 @@ int main (int argc, char ** argv) { // setup the spreadsheet arrays (tbl) if (! growtbl(GROWNEW, 0, 0)) return exit_app(1); - // initiate NCURSES if that is what is wanted if (! atoi((char *) get_conf_value("nocurses"))) { ui_start_screen(); @@ -289,6 +288,7 @@ int main (int argc, char ** argv) { // and send it to interp read_stdin(); + // change curmode to NORMAL_MODE chg_mode('.'); @@ -470,6 +470,9 @@ void delete_structures() { // Free ents of tbl erasedb(); + + // free custom_colors + free_custom_colors(); } /** |