mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Change |- into a 4-space indent and shift the TAB character to the |t tag. Resolves 1393.
This commit is contained in:
parent
526a6c73b6
commit
3da28c5ba9
1 changed files with 4 additions and 2 deletions
|
|
@ -323,7 +323,8 @@ class ANSIParser(object):
|
|||
ext_ansi_map = [
|
||||
(r'{n', ANSI_NORMAL), # reset
|
||||
(r'{/', ANSI_RETURN), # line break
|
||||
(r'{-', ANSI_TAB), # tab
|
||||
(r'{-', 4*ANSI_SPACE), # "fixed" tab
|
||||
(r'{t', ANSI_TAB), # tab
|
||||
(r'{_', ANSI_SPACE), # space
|
||||
(r'{*', ANSI_INVERSE), # invert
|
||||
(r'{^', ANSI_BLINK), # blinking text (very annoying and not supported by all clients)
|
||||
|
|
@ -374,7 +375,8 @@ class ANSIParser(object):
|
|||
|
||||
(r'|n', ANSI_NORMAL), # reset
|
||||
(r'|/', ANSI_RETURN), # line break
|
||||
(r'|-', ANSI_TAB), # tab
|
||||
(r'|-', 4*ANSI_SPACE), # "fixed" tab, for indentation
|
||||
(r'|t', ANSI_TAB), # tab
|
||||
(r'|_', ANSI_SPACE), # space
|
||||
(r'|*', ANSI_INVERSE), # invert
|
||||
(r'|^', ANSI_BLINK), # blinking text (very annoying and not supported by all clients)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue