1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 16:42:13 +03:00
wezterm/test-data/blocks.py
Wez Furlong ad0ee8f832 improve 1/8th block drawing
* 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
2021-06-12 10:04:08 -07:00

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()