Curses: shift board one char to the right to leave enough space for captures.
authorYann Dirson <ydirson@free.fr>
Sun, 16 Feb 2014 15:06:15 +0000 (16:06 +0100)
committerYann Dirson <ydirson@free.fr>
Sun, 16 Feb 2014 15:12:31 +0000 (16:12 +0100)
There was not really enough space to display top player's captures
correctly.

NEWS
gnushogi/cursesdsp.c

diff --git a/NEWS b/NEWS
index 35537b8..7c9be91 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,7 @@ Changes in version 1.4.2 (unreleased):
 * Fixed Curses mode display:
   - reversed column number for MiniShogi
   - clock position for MiniShogi
-  - artifacts while prompting in edit mode with only 80 columns
+  - layout fixes, notably when using only 80 columns
 * Minor code cleanups.
 
 Changes in version 1.4.1 (01/2014):
index bf5452f..98cec52 100644 (file)
@@ -64,7 +64,7 @@
 
 int mycnt1, mycnt2;
 
-#define MARGIN (4)
+#define MARGIN (5)
 #define TAB (58)
 
 #define VIR_C(s)  ((flag.reverse) ? (NO_COLS - 1 - column(s)) : column(s))