projects
/
gnushogi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
55f7af8
)
Ensure the player names are refreshed after a switch (impacts Curses mode).
author
Yann Dirson
<ydirson@free.fr>
Sun, 16 Feb 2014 16:27:00 +0000 (17:27 +0100)
committer
Yann Dirson
<ydirson@free.fr>
Sun, 16 Feb 2014 16:32:40 +0000 (17:32 +0100)
NEWS
patch
|
blob
|
history
gnushogi/commondsp.c
patch
|
blob
|
history
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.
diff --git
a/gnushogi/commondsp.c
b/gnushogi/commondsp.c
index
32785f5
..
33d1068
100644
(file)
--- 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)
{