Skip to content

Added escape character in command

Lamibe requested to merge Lamibe/SRB2:cons-escape into next

An hack that allow the use of the escape character within the console. Notably it allow the use of the " character within command. Supported:

  • \"
  • \\
  • \t
  • \x : Only 8-bit and some character aren't allowed

Also I found out that the first quote must follow a space or it will be treated as a semicolon(" echo"a" " is treated as " echo;a; " for example). This MR don't fix this.

Also this allow chat message to contains color characters(80-8F).

Could have been done better I know.

Edited by Lamibe

Merge request reports