From e14622d75ec8729ec94221340d65a1ebadab8bfa Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 8 Nov 2020 03:39:28 +0100
Subject: [PATCH] Add TERRAIN and PLAYER lines to curses client study view.

---
 new2/rogue_chat_curses.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/new2/rogue_chat_curses.py b/new2/rogue_chat_curses.py
index 7030c29..ee2cae8 100755
--- a/new2/rogue_chat_curses.py
+++ b/new2/rogue_chat_curses.py
@@ -394,10 +394,15 @@ class TUI:
         def draw_info():
             if not self.game.turn_complete:
                 return
+            pos_i = self.explorer.y * self.game.map_geometry.size.x + self.explorer.x
+            info = 'TERRAIN: %s\n' % self.game.map_content[pos_i]
+            for t in self.game.things:
+                if t.position == self.explorer:
+                    info += 'PLAYER @: %s\n' % t.name
             if self.explorer in self.game.portals:
-                info = 'PORTAL: ' + self.game.portals[self.explorer] + '\n'
+                info += 'PORTAL: ' + self.game.portals[self.explorer] + '\n'
             else:
-                info = 'PORTAL: (none)\n'
+                info += 'PORTAL: (none)\n'
             if self.explorer in self.game.info_db:
                 info += 'ANNOTATION: ' + self.game.info_db[self.explorer]
             else:
-- 
2.30.2