- init_pair("0", $foreground, $background);
-# init_pair(0, $background, $foreground);
- init_pair(1, COLOR_RED, $background);
- init_pair(2, COLOR_YELLOW, $background);
- init_pair(3, COLOR_GREEN, $background);
- init_pair(4, COLOR_CYAN, $background);
- init_pair(5, COLOR_BLUE, $background);
- init_pair(6, COLOR_MAGENTA, $background);
+ init_pair("0", $main::foreground, $main::background);
+# init_pair(0, $main::background, $main::foreground);
+ init_pair(1, COLOR_RED, $main::background);
+ init_pair(2, COLOR_YELLOW, $main::background);
+ init_pair(3, COLOR_GREEN, $main::background);
+ init_pair(4, COLOR_CYAN, $main::background);
+ init_pair(5, COLOR_BLUE, $main::background);
+ init_pair(6, COLOR_MAGENTA, $main::background);