Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2022 19:19:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260888] devel/py-blessed 1.19.0 constructs wrong ANSI-Escape sequences for colors
Message-ID:  <bug-260888-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260888

            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 =3D 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 =3D '\x1b[1;93;48m'

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260888-7788>