[Bug 260888] devel/py-blessed 1.19.0 constructs wrong ANSI-Escape sequences for colors

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Jan 2022 19:19:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260888

            Bug ID: 260888
           Summary: devel/py-blessed 1.19.0 constructs wrong ANSI-Escape
                    sequences for colors
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: p5B2E9A8F@t-online.de
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import blessed

In [2]: term = blessed.Terminal()

In [3]: term.yellow
Out[3]: '\x1b[33m'

In [4]: term.bright_yellow
Out[4]: '\x1b[311m'

this done manually works:
n [5]: ansi_bright_yellow = '\x1b[1;93;48m'

In [6]: print(ansi_bright_yellow + 'TEST')
TEST

-- 
You are receiving this mail because:
You are the assignee for the bug.