We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70afba6 commit 47271c7Copy full SHA for 47271c7
1 file changed
is-unicode-supported/src/is_unicode_supported/api.py
@@ -9,7 +9,7 @@ def is_unicode_supported() -> bool:
9
with terminal.cbreak(), terminal.hidden_cursor(): # measure rendered width of wide CJK char
10
r,g,b = terminal.get_bgcolor()
11
if (r,g,b) == (-1,-1,-1) : (r,g,b) = (0,0,0) # get bg failed, init to black
12
- sys.stdout.write(terminal.color_rgb(r, g, b)) # make text invisible
+ sys.stdout.write(terminal.color_rgb(r,g,b)) # make text invisible
13
_, x1 = terminal.get_location()
14
sys.stdout.write('𠀀')
15
sys.stdout.flush()
0 commit comments