mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
added IRC_INVERT code according to: https://github.com/myano/jenni/wiki/IRC-String-Formatting
This commit is contained in:
parent
9ddd79b202
commit
5d2ee7e5f4
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ IRC_BOLD = "\002"
|
|||
IRC_COLOR = "\003"
|
||||
IRC_RESET = "\017"
|
||||
IRC_ITALIC = "\026"
|
||||
IRC_INVERT = "\x16"
|
||||
IRC_NORMAL = "99"
|
||||
IRC_UNDERLINE = "37"
|
||||
|
||||
|
|
@ -57,7 +58,7 @@ IRC_COLOR_MAP = dict((
|
|||
(r'|t', " "), # tab
|
||||
(r'|-', " "), # fixed tab
|
||||
(r'|_', " "), # space
|
||||
(r'|*', ""), # invert
|
||||
(r'|*', IRC_INVERT), # invert
|
||||
(r'|^', ""), # blinking text
|
||||
(r'|h', IRC_BOLD), # highlight, use bold instead
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue