From 90d2bbb8700e06f811e0d7cba8a72f30f3ad5438 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 1 Nov 2020 02:39:55 +0100
Subject: [PATCH] Rename shows_annotations to now more precise shows_info.

---
 new2/rogue_chat_nocanvas_monochrome.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html
index 578e971..3e25304 100644
--- a/new2/rogue_chat_nocanvas_monochrome.html
+++ b/new2/rogue_chat_nocanvas_monochrome.html
@@ -243,10 +243,10 @@ let unparser = {
 }
 
 class Mode {
-    constructor(name, has_input_prompt=false, shows_annotations=false, is_intro=false) {
+    constructor(name, has_input_prompt=false, shows_info=false, is_intro=false) {
         this.name = name;
         this.has_input_prompt = has_input_prompt;
-        this.shows_annotations = shows_annotations;
+        this.shows_info= shows_info;
         this.is_intro = is_intro;
     }
 }
@@ -387,7 +387,7 @@ let tui = {
             center_pos = t;
         }
     };
-    if (tui.mode.shows_annotations) {
+    if (tui.mode.shows_info) {
         map_lines[explorer.position[0]][explorer.position[1]] = '?';
         center_pos = explorer.position;
     }
@@ -442,7 +442,7 @@ let tui = {
         this.draw_map();
         this.draw_turn_line();
         this.draw_mode_line();
-        if (this.mode.shows_annotations) {
+        if (this.mode.shows_info) {
           this.draw_info();
         } else {
           this.draw_history();
-- 
2.30.2