ENC: About \033[m

2021-04-03 Thread Fábio Pereira
print("{}".format("\033[0;30;43m*\033[m"*40)) print("{:^40}".format("v")) print("{:^54}".format("\033[7;30;43mProgramac,ao Python\033[m")) print("{:^54}".format("\033[7;30;43mFabio JS Pereira\033[m")) print("{:^40}".format("\033[7;30;43mProgramac,ao Python\033[m")) print("{:^40}".format("\

RE: Python curses question: How to separate foreground and background colors from the value returned by inch()?

2021-04-03 Thread pjfarley3
I figured out how to file a couple of issues on the python tracker site. 43715 inch() and scrbkgd() documentation omissions 43716 curses.pair_number() value issue Peter > -Original Message- > From: pjfarl...@earthlink.net > Sent: Saturday, April 3, 2021 2:25 PM > To: 'python-list@py

RE: Python curses question: How to separate foreground and background colors from the value returned by inch()?

2021-04-03 Thread pjfarley3
> -Original Message- > From: pjfarl...@earthlink.net > Sent: Saturday, April 3, 2021 1:25 AM > To: python-list@python.org > Subject: Python curses question: How to separate foreground and background > colors from the value returned by inch()? > > The window.inch(([y, x])) function returns

Re: Friday Finking: initialising values and implied tuples

2021-04-03 Thread Rob Cliffe via Python-list
On 03/04/2021 04:09, 2qdxy4rzwzuui...@potatochowder.com wrote: On 2021-04-03 at 02:41:59 +0100, Rob Cliffe via Python-list wrote:     x1 = 42; y1 =  3;  z1 = 10     x2 = 41; y2 = 12; z2 = 9     x3 =  8;  y3 =  8;  z3 = 10 (please imagine it's in a fixed font with everything neatly vertica