mirror of
https://github.com/wez/wezterm.git
synced 2024-12-18 02:42:05 +03:00
ad0ee8f832
* Rename `draw_quad` to `fill_rect` to better indicate what it is doing. * Switch the 1/8th block rendering to use `fill_rect` with math that is consistent with quad drawing to compute the bounds. refs: https://github.com/dankamongmen/notcurses/issues/1715#issuecomment-860072690
24 lines
294 B
Python
Executable File
24 lines
294 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
# Print out the unicde block range
|
|
|
|
s = ""
|
|
for b in range(0x2580, 0x25A0):
|
|
s += chr(b) + " "
|
|
|
|
print(s)
|
|
print(s)
|
|
print(s)
|
|
print()
|
|
|
|
# Upper and lower block
|
|
print("\u2580\u2584")
|
|
print()
|
|
|
|
s = ""
|
|
for b in range(0x1fb00, 0x1fb3c):
|
|
s += chr(b) + " "
|
|
|
|
print(s)
|
|
print()
|