mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-02 17:22:33 +00:00
Make the status window maximum width to begin with.
This commit is contained in:
parent
3a968490b2
commit
a8b39bcb7c
2
main.c
2
main.c
@ -2106,8 +2106,8 @@ int main (int argc, char *argv[])
|
|||||||
/* Set up the ncurses interface */
|
/* Set up the ncurses interface */
|
||||||
if (!opt_quiet) {
|
if (!opt_quiet) {
|
||||||
mainwin = initscr();
|
mainwin = initscr();
|
||||||
statuswin = newwin(logstart, 80, 0, 0);
|
|
||||||
getmaxyx(mainwin, y, x);
|
getmaxyx(mainwin, y, x);
|
||||||
|
statuswin = newwin(logstart, x, 0, 0);
|
||||||
logwin = newwin(y - logcursor, 0, logcursor, 0);
|
logwin = newwin(y - logcursor, 0, logcursor, 0);
|
||||||
idlok(logwin, true);
|
idlok(logwin, true);
|
||||||
scrollok(logwin, true);
|
scrollok(logwin, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user