コード例 #1
0
ファイル: irc.py プロジェクト: mbrukman/errbot
IRC_CHRS = CharacterTable(fg_black=NSC('\x0301'),
                          fg_red=NSC('\x0304'),
                          fg_green=NSC('\x0303'),
                          fg_yellow=NSC('\x0308'),
                          fg_blue=NSC('\x0302'),
                          fg_magenta=NSC('\x0306'),
                          fg_cyan=NSC('\x0310'),
                          fg_white=NSC('\x0300'),
                          fg_default=NSC('\x03'),
                          bg_black=NSC('\x03,01'),
                          bg_red=NSC('\x03,04'),
                          bg_green=NSC('\x03,03'),
                          bg_yellow=NSC('\x03,08'),
                          bg_blue=NSC('\x03,02'),
                          bg_magenta=NSC('\x03,06'),
                          bg_cyan=NSC('\x03,10'),
                          bg_white=NSC('\x03,00'),
                          bg_default=NSC('\x03,'),
                          fx_reset=NSC('\x03'),
                          fx_bold=NSC('\x02'),
                          fx_italic=NSC('\x1D'),
                          fx_underline=NSC('\x1F'),
                          fx_not_italic=NSC('\x0F'),
                          fx_not_underline=NSC('\x0F'),
                          fx_normal=NSC('\x0F'),
                          fixed_width='',
                          end_fixed_width='',
                          inline_code='',
                          end_inline_code='')
コード例 #2
0
IRC_CHRS = CharacterTable(
    fg_black=NSC("\x0301"),
    fg_red=NSC("\x0304"),
    fg_green=NSC("\x0303"),
    fg_yellow=NSC("\x0308"),
    fg_blue=NSC("\x0302"),
    fg_magenta=NSC("\x0306"),
    fg_cyan=NSC("\x0310"),
    fg_white=NSC("\x0300"),
    fg_default=NSC("\x03"),
    bg_black=NSC("\x03,01"),
    bg_red=NSC("\x03,04"),
    bg_green=NSC("\x03,03"),
    bg_yellow=NSC("\x03,08"),
    bg_blue=NSC("\x03,02"),
    bg_magenta=NSC("\x03,06"),
    bg_cyan=NSC("\x03,10"),
    bg_white=NSC("\x03,00"),
    bg_default=NSC("\x03,"),
    fx_reset=NSC("\x03"),
    fx_bold=NSC("\x02"),
    fx_italic=NSC("\x1D"),
    fx_underline=NSC("\x1F"),
    fx_not_italic=NSC("\x0F"),
    fx_not_underline=NSC("\x0F"),
    fx_normal=NSC("\x0F"),
    fixed_width="",
    end_fixed_width="",
    inline_code="",
    end_inline_code="",
)