diff options
author | mongo <mongo@iomega> | 2016-09-28 16:53:47 -0300 |
---|---|---|
committer | mongo <mongo@iomega> | 2016-09-28 16:53:47 -0300 |
commit | 164bbb963546d7c61b3e371585f4b181ec06087e (patch) | |
tree | ca9e7d9a8f9793ec30ddb0a5073ed4377a698a1d | |
parent | ed17f2ed734272a32966bc93bdaf70bdc4602d38 (diff) |
Fix colors of sc_info messages when using background other than black
-rw-r--r-- | src/file.c | 1 | ||||
-rw-r--r-- | src/main.c | 3 | ||||
-rw-r--r-- | src/screen.c | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -734,6 +734,7 @@ int import_csv(char * fname, char d) { //if (isnumeric(st) && strlen(st) && token[strlen(st)-1] != '-' && token[strlen(st)-1] != '.') { // FIXME do a proper isnumeric function !! // swprintf(line_interp, BUFFERSIZE, L"let %s%d=%s", coltoa(c), r, st); //} else { + //sc_debug("%s", st); swprintf(line_interp, BUFFERSIZE, L"label %s%d=\"%s\"", coltoa(c), r, st); //} send_to_interp(line_interp); @@ -180,8 +180,9 @@ int main (int argc, char ** argv) { // we show welcome screen if no spreadsheet was passed to SC-IM // and no input was sent throw pipeline + do_welcome(); if ( ! curfile[0] && ! wcslen(stdin_buffer)) { - do_welcome(); + //do_welcome(); // show mode and cell's details in status bar show_celldetails(input_win); diff --git a/src/screen.c b/src/screen.c index 3a5331c..a394f5c 100644 --- a/src/screen.c +++ b/src/screen.c @@ -125,10 +125,10 @@ void do_welcome() { // function that refreshes grid of screen void update(int header) { - #ifdef USECOLORS + //#ifdef USECOLORS //wbkgd(main_win, COLOR_PAIR(ucolors[DEFAULT].fg * 8 + ucolors[DEFAULT].bg + 1)); //wbkgd(input_win, COLOR_PAIR(ucolors[DEFAULT].fg * 8 + ucolors[DEFAULT].bg + 1)); - #endif + //#endif if (loading) return; if (cmd_multiplier > 1) return; if (atoi(get_conf_value("nocurses"))) return; |