colorama icon indicating copy to clipboard operation
colorama copied to clipboard

Simple cross-platform colored terminal text in Python

Results 122 colorama issues
Sort by recently updated
recently updated
newest added

BEWARE, I haven't tested this on Windows (because I don't have a Windows box.) It should definitely get tested there before we merge. This is intended as a fix for:...

requires-thought

Due to the fact, that colorama uses global streams, multiple wraps around the same stream is pointless and causes python to hung on both Linux and Windows-based machines. If such...

requires-thought

When the output stream is wrapped, `print(...)` is no longer an atomic operation. With multiple threads writing to the console, the text and colours sometimes get a bit scrambled. This...

requires-thought

Resolves #205.

requires-thought

When using colorama in a non-interactive terminal (e.g. stdout being piped to file) on Linux, colorama.init() is hooking into sys.stdout, resulting in occasional strange results. Looking at the documentation, there...

``` File "D:\x\run.py", line 164, in run_sequential bpar = tqdm.tqdm(total=args.t_max) File "C:\Users\x\anaconda3\envs\py37\lib\site-packages\tqdm\std.py", line 1086, in __init__ self.refresh(lock_args=self.lock_args) File "C:\Users\x\anaconda3\envs\py37\lib\site-packages\tqdm\std.py", line 1380, in refresh self.display() File "C:\Users\x\anaconda3\envs\py37\lib\site-packages\tqdm\std.py", line 1514, in display...

Creating a `convert(string: str)` global function would make certain programs easier. I usually code Colorama into a Python package for Windows support. I find that I have to write an...

I am using colorama for coloured terminal output on Windows with custom ANSI escape sequences in a medium size library that I currently develop. I noticed that this works well...

```Python >>> import colorama >>> import sys >>> id(sys.stdout) 2198406407512 >>> colorama.init() >>> id(sys.stdout) 2198419631912 >>> colorama.deinit() >>> id(sys.stdout) # back to the original, as expected 2198406407512 >>> colorama.init() >>>...

bug
good first issue

Hi. Did you noticed that `colorama` was not working on Git Bash for Windows? Steps to reproduce is quite straightfoward: on Windows, run `get-bash.exe`, start the Python interpreter with `python...