summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-12 16:27:23 -0300
committerAndrés <andmarti@gmail.com>2021-03-12 16:27:23 -0300
commit45326a5b5eb8fcff6fc830e45af97e1b7200375e (patch)
tree733c392885416f2c6e4c41a315ee6a2146cee658 /src/main.c
parent05886dba2a9e10a4a2b74921933c9e3e525cb3fb (diff)
work on RGB colors. added DEFINE_COLOR command
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index d73404b..d784f23 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();
}
/**