Trunk: Merged the Devel-branch (branches/griatch) into /trunk. This constitutes a major refactoring of Evennia. Development will now continue in trunk. See the wiki and the past posts to the mailing list for info. /Griatch
This commit is contained in:
parent
df29defbcd
commit
f83c2bddf8
222 changed files with 22304 additions and 14371 deletions
|
|
@ -1,5 +1,10 @@
|
|||
from src import ansi
|
||||
from src.ansi import BaseParser, ANSITable
|
||||
"""
|
||||
ANSI parser - this adds colour to text according to
|
||||
special markup strings.
|
||||
"""
|
||||
|
||||
from src.utils import ansi
|
||||
from ansi import BaseParser, ANSITable
|
||||
|
||||
class IMCANSIParser(BaseParser):
|
||||
"""
|
||||
|
|
@ -57,4 +62,4 @@ def parse_ansi(*args, **kwargs):
|
|||
"""
|
||||
Shortcut to use the IMC2 ANSI parser.
|
||||
"""
|
||||
return ansi.parse_ansi(parser=IMCANSIParser(), *args, **kwargs)
|
||||
return ansi.parse_ansi(parser=IMCANSIParser(), *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue