Ask coding questions

← Back to all posts
0
Colorama and Over lines
RYANMUSSELL (0)

from colorama import init
init()
from colorama import Fore, Back, Style
r = Style.BRIGHT + Fore.RED
rrr = Style.RESET_ALL + Fore.RESET + Back.RESET

print(' ')
print(rrr+'¯¯¯¯¯¯ ------ __')
print(' ')
print(r+'¯¯¯¯¯¯ ------ __')

Colorama no longer appears to support over lines. I know for a fact that they used to and I am wondering whats up.

Commentshotnewtop
1
mat1 (2260)

I'm not sure what you mean by "over lines".
Your code seems to output the right response:

1
RYANMUSSELL (0)

@mat1 When I run it the overline disappears.

1
mat1 (2260)

@RYANMUSSELL That's strange. Can you please send your user agent string here? https://www.whatsmyua.info/

1
RYANMUSSELL (0)

@mat1 What do you want me to tell you? All of the information or just a specific line? Not sure

1
mat1 (2260)

@RYANMUSSELL Your entire user agent string. For example, mine is Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0. It shows information about your browser so it's easier to find out what the problem is

1
RYANMUSSELL (0)

@mat1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36