Ensure the player names are refreshed after a switch (impacts Curses mode).
authorYann Dirson <ydirson@free.fr>
Sun, 16 Feb 2014 16:27:00 +0000 (17:27 +0100)
committerYann Dirson <ydirson@free.fr>
Sun, 16 Feb 2014 16:32:40 +0000 (17:32 +0100)
NEWS
gnushogi/commondsp.c

diff --git a/NEWS b/NEWS
index e82931a..707f1ec 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Changes in version 1.4.2 (unreleased):
 * Fixed Curses mode display:
   - reversed column number for MiniShogi
   - clock and captures position for MiniShogi
+  - refresh display after "switch" to get player names updated
   - layout fixes, notably when using only 80 columns
 * Minor code cleanups.
 
index 32785f5..33d1068 100644 (file)
@@ -1812,6 +1812,7 @@ InputCommand(char *command)
             flag.force = false;
             Sdepth = 0;
             ok = true;
+            UpdateDisplay(0, 0, 1, 0);
         }
         else if (strcmp(s, "black") == 0)
         {