Commit 0b90841cb4fd44bb5a9ac309a4455d4f48acc840

Con Kolivas 2014-01-23T23:06:19

Use unused line at the top of the log window which often gets stuck unchanging.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index f3e37e1..47a9f7b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2339,7 +2339,7 @@ static void check_winsizes(void)
 			statusy = LINES - 2;
 		else
 			statusy = logstart;
-		logcursor = statusy + 1;
+		logcursor = statusy;
 		wresize(statuswin, statusy, x);
 		getmaxyx(mainwin, y, x);
 		y -= logcursor;