From: Yann Dirson Date: Sun, 16 Feb 2014 16:27:00 +0000 (+0100) Subject: Ensure the player names are refreshed after a switch (impacts Curses mode). X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=da8e444e6e41af03151cd42350180926b41da28a;p=gnushogi.git Ensure the player names are refreshed after a switch (impacts Curses mode). --- diff --git a/NEWS b/NEWS index e82931a..707f1ec 100644 --- 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. diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 32785f5..33d1068 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -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) {