From 1ed87907733a1d3f3646c4b1a94fb17e3cff500f Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 10 Apr 2019 02:07:00 +0200
Subject: [PATCH] Invert color for examiner cursor.

---
 new/example_client.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/new/example_client.py b/new/example_client.py
index 44b0993..5fc3063 100755
--- a/new/example_client.py
+++ b/new/example_client.py
@@ -412,6 +412,8 @@ class MapWidget(Widget):
                     chars_with_attrs += [(c, curses.color_pair(2))]
                 elif c in {'x', 'X', '#'}:
                     chars_with_attrs += [(c, curses.color_pair(3))]
+                elif c == '?':
+                    chars_with_attrs += [(c, curses.color_pair(5))]
                 else:
                     chars_with_attrs += [c]
             return chars_with_attrs
@@ -584,6 +586,7 @@ class TUI:
             curses.init_pair(2, curses.COLOR_BLACK, curses.COLOR_GREEN)
             curses.init_pair(3, curses.COLOR_BLACK, curses.COLOR_BLUE)
             curses.init_pair(4, curses.COLOR_BLACK, curses.COLOR_YELLOW)
+            curses.init_pair(5, curses.COLOR_BLACK, curses.COLOR_WHITE)
 
         # Basic curses initialization work.
         setup_screen(stdscr)
-- 
2.30.2