Skip to content
Snippets Groups Projects
Commit 3f45a5d9 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Remove curses calls when running in commandline (non-curses) mode.

parent bb512ccd
No related branches found
No related tags found
No related merge requests found
...@@ -127,11 +127,7 @@ extern void get_job() ...@@ -127,11 +127,7 @@ extern void get_job()
} }
} else { } else {
job.num_procs = (int)letters[count%62]; job.num_procs = (int)letters[count%62];
wattron(ba_system_ptr->text_win,
COLOR_PAIR(colors[count%6]));
_print_text_job(&job); _print_text_job(&job);
wattroff(ba_system_ptr->text_win,
COLOR_PAIR(colors[count%6]));
} }
count++; count++;
} }
...@@ -161,11 +157,7 @@ extern void get_job() ...@@ -161,11 +157,7 @@ extern void get_job()
} else { } else {
job.nodes = "waiting..."; job.nodes = "waiting...";
job.num_procs = (int) letters[count%62]; job.num_procs = (int) letters[count%62];
wattron(ba_system_ptr->text_win,
COLOR_PAIR(colors[count%6]));
_print_text_job(&job); _print_text_job(&job);
wattroff(ba_system_ptr->text_win,
COLOR_PAIR(colors[count%6]));
printed_jobs++; printed_jobs++;
} }
count++; count++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment