about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-04 12:20:23 -0500
committerJune McEnroe <june@causal.agency>2019-01-04 12:20:23 -0500
commit59e32020d84dcdea696ae5942eba901d92803806 (patch)
tree30a9fcd30abf23b600240e5d281901e5a9b35de0
parentDisable flip (diff)
downloadtorus-59e32020d84dcdea696ae5942eba901d92803806.tar.gz
torus-59e32020d84dcdea696ae5942eba901d92803806.zip
Add indicator of current position in map
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index c2819e4..40b52e0 100644
--- a/client.c
+++ b/client.c
@@ -220,6 +220,7 @@ static void serverMap(void) {
 			wchar_t cell = MapCells[count];
 			uint8_t color = MapColors[time];
 			wchar_t tile[] = { cell, cell, cell, L'\0' };
+			if (y == MapRows / 2 && x == MapCols / 2) tile[1] = L'⌂';
 			attr_set(colorAttr(color), colorPair(color), NULL);
 			mvaddwstr(MapY + y, MapX + 3 * x, tile);
 		}