Skip to content
Snippets Groups Projects

Added escape character in command

Closed 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading