mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 10:37:16 +01:00
Started on MSDP support, although not working nor activated at this time.
This commit is contained in:
parent
4cd80284c9
commit
dfec9eeb7d
2 changed files with 201 additions and 5 deletions
|
|
@ -117,13 +117,13 @@ class ANSIParser(object):
|
|||
(r'{n', normal) #reset
|
||||
]
|
||||
|
||||
# xterm256
|
||||
# xterm256 {123, %c134,
|
||||
|
||||
self.xterm256_map = [
|
||||
(r'%c([1-5]{3})', self.parse_rgb),
|
||||
(r'%c(b[1-5]{3})', self.parse_rgb),
|
||||
(r'{([1-5]{3})', self.parse_rgb),
|
||||
(r'{(b[1-5]{3})', self.parse_rgb)
|
||||
(r'%c([1-5]{3})', self.parse_rgb), # %c123 - foreground colour
|
||||
(r'%c(b[1-5]{3})', self.parse_rgb), # %cb123 - background colour
|
||||
(r'{([1-5]{3})', self.parse_rgb), # {123 - foreground colour
|
||||
(r'{(b[1-5]{3})', self.parse_rgb) # {b123 - background colour
|
||||
]
|
||||
|
||||
# obs - order matters here, we want to do the xterms first since
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue