From a151d4cbc512d8075c6e49c0feb9cfcf63421f04 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 1 Nov 2020 02:49:09 +0100
Subject: [PATCH] Improve teleportation dialogue handling.

---
 new2/rogue_chat_nocanvas_monochrome.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html
index c2c978e..583b2dc 100644
--- a/new2/rogue_chat_nocanvas_monochrome.html
+++ b/new2/rogue_chat_nocanvas_monochrome.html
@@ -313,8 +313,8 @@ let tui = {
 	this.inputEl.value = portal;
 	this.recalc_input_lines();
     } else if (mode == mode_teleport) {
-        tui.log_msg("Type Y or y to affirm teleportation, any other key to abort.");
-        tui.log_msg("target: " + tui.teleport_target);
+        tui.log_msg("@ May teleport to: " + tui.teleport_target);
+        tui.log_msg("@ Type Y or y to affirm, other keys to abort.");
     }
     this.full_refresh();
   },
@@ -556,6 +556,7 @@ tui.inputEl.addEventListener('input', (event) => {
         if (['Y', 'y'].includes(tui.inputEl.value[0])) {
             server.reconnect_to(tui.teleport_target);
 	} else {
+            tui.log_msg("@ teleportation aborted");
             tui.switch_mode(mode_play);
 	}
     }
-- 
2.30.2