pretty sure esc here is just a holdover from past, and has no use in rearranged implementation.
authornemo
Mon, 18 Feb 2013 14:06:16 -0500
changeset 8516 e422cbf9aa33
parent 8515 222f43420615
child 8537 11d5903fe6f9
pretty sure esc here is just a holdover from past, and has no use in rearranged implementation.
hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Mon Feb 18 23:04:38 2013 +0400
+++ b/hedgewars/uChat.pas	Mon Feb 18 14:06:16 2013 -0500
@@ -394,9 +394,7 @@
         SetLine(InputStr, '', true)
     else
         begin
-        // err, does anyone have any documentation on this sequence?
-        // ^^ isn't it obvious? 27 is esc, 32 is space, inbetween is "/team"
-        KeyPressChat(27);
+        // "/team "
         KeyPressChat(47);
         KeyPressChat(116);
         KeyPressChat(101);