|
|
|
@ -2215,6 +2215,14 @@ void clear_logwin(void)
@@ -2215,6 +2215,14 @@ void clear_logwin(void)
|
|
|
|
|
unlock_curses(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void logwin_update(void) |
|
|
|
|
{ |
|
|
|
|
if (curses_active_locked()) { |
|
|
|
|
touchwin(logwin); |
|
|
|
|
wrefresh(logwin); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
static void enable_pool(struct pool *pool) |
|
|
|
@ -4115,6 +4123,7 @@ retry:
@@ -4115,6 +4123,7 @@ retry:
|
|
|
|
|
wlogprint("[A]dd pool [R]emove pool [D]isable pool [E]nable pool\n"); |
|
|
|
|
wlogprint("[C]hange management strategy [S]witch pool [I]nformation\n"); |
|
|
|
|
wlogprint("Or press any other key to continue\n"); |
|
|
|
|
logwin_update(); |
|
|
|
|
input = getch(); |
|
|
|
|
|
|
|
|
|
if (!strncasecmp(&input, "a", 1)) { |
|
|
|
@ -4237,6 +4246,7 @@ retry:
@@ -4237,6 +4246,7 @@ retry:
|
|
|
|
|
opt_compact ? "on" : "off", |
|
|
|
|
opt_log_interval); |
|
|
|
|
wlogprint("Select an option or any other key to return\n"); |
|
|
|
|
logwin_update(); |
|
|
|
|
input = getch(); |
|
|
|
|
if (!strncasecmp(&input, "q", 1)) { |
|
|
|
|
opt_quiet ^= true; |
|
|
|
@ -4345,6 +4355,7 @@ retry:
@@ -4345,6 +4355,7 @@ retry:
|
|
|
|
|
"[W]rite config file\n[C]gminer restart\n", |
|
|
|
|
opt_queue, opt_scantime, opt_expiry); |
|
|
|
|
wlogprint("Select an option or any other key to return\n"); |
|
|
|
|
logwin_update(); |
|
|
|
|
input = getch(); |
|
|
|
|
|
|
|
|
|
if (!strncasecmp(&input, "q", 1)) { |
|
|
|
|