mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Changed backgrounnd ANSI flag from - to [
This commit is contained in:
parent
09ee3c3f2c
commit
d69f4dc674
2 changed files with 6 additions and 6 deletions
|
|
@ -597,15 +597,15 @@ class CmdColorTest(MuxPlayerCommand):
|
|||
# foreground table
|
||||
table[ir].append("{%i%i%i%s{n" % (ir, ig, ib, "{{%i%i%i" % (ir, ig, ib)))
|
||||
# background table
|
||||
table[6+ir].append("{-%i%i%i{%i%i%i%s{n" % (ir, ig, ib,
|
||||
table[6+ir].append("{[%i%i%i{%i%i%i%s{n" % (ir, ig, ib,
|
||||
5 - ir, 5 - ig, 5 - ib,
|
||||
"{{-%i%i%i" % (ir, ig, ib)))
|
||||
"{{[%i%i%i" % (ir, ig, ib)))
|
||||
table = self.table_format(table)
|
||||
string = "Xterm256 colors (if not all hues show, your client might not report that it can handle xterm256):"
|
||||
for row in table:
|
||||
string += "\n" + "".join(row)
|
||||
self.msg(string)
|
||||
self.msg("(e.g. %%c123 and %%cb123 also work)")
|
||||
self.msg("(e.g. %%123 and %%[123 also work)")
|
||||
else:
|
||||
# malformed input
|
||||
self.msg("Usage: @color ansi|xterm256")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue