|
|
|
@ -105,7 +105,6 @@ int total_devices;
@@ -105,7 +105,6 @@ int total_devices;
|
|
|
|
|
int zombie_devs; |
|
|
|
|
static int most_devices; |
|
|
|
|
struct cgpu_info **devices; |
|
|
|
|
bool have_opencl; |
|
|
|
|
int mining_threads; |
|
|
|
|
int num_processors; |
|
|
|
|
#ifdef HAVE_CURSES |
|
|
|
@ -2036,8 +2035,7 @@ static void curses_print_status(void)
@@ -2036,8 +2035,7 @@ static void curses_print_status(void)
|
|
|
|
|
prev_block, block_diff, blocktime, best_share); |
|
|
|
|
mvwhline(statuswin, 6, 0, '-', 80); |
|
|
|
|
mvwhline(statuswin, statusy - 1, 0, '-', 80); |
|
|
|
|
cg_mvwprintw(statuswin, devcursor - 1, 1, "[P]ool management %s[S]ettings [D]isplay options [Q]uit", |
|
|
|
|
have_opencl ? "[G]PU management " : ""); |
|
|
|
|
cg_mvwprintw(statuswin, devcursor - 1, 1, "[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void adj_width(int var, int *length) |
|
|
|
@ -4747,7 +4745,7 @@ static void *input_thread(void __maybe_unused *userdata)
@@ -4747,7 +4745,7 @@ static void *input_thread(void __maybe_unused *userdata)
|
|
|
|
|
display_pools(); |
|
|
|
|
else if (!strncasecmp(&input, "s", 1)) |
|
|
|
|
set_options(); |
|
|
|
|
else if (have_opencl && !strncasecmp(&input, "g", 1)) |
|
|
|
|
else if (!strncasecmp(&input, "g", 1)) |
|
|
|
|
manage_gpu(); |
|
|
|
|
if (opt_realquiet) { |
|
|
|
|
disable_curses(); |
|
|
|
|