49 self, console: Console, options: ConsoleOptions
62 prefix_complete_eights = int(width * 8 * self.
begin / self.
size)
63 prefix_bar_count = prefix_complete_eights // 8
64 prefix_eights_count = prefix_complete_eights % 8
66 body_complete_eights = int(width * 8 * self.
end / self.
size)
67 body_bar_count = body_complete_eights // 8
68 body_eights_count = body_complete_eights % 8
74 prefix =
" " * prefix_bar_count
75 if prefix_eights_count:
76 prefix += BEGIN_BLOCK_ELEMENTS[prefix_eights_count]
78 body = FULL_BLOCK * body_bar_count
80 body += END_BLOCK_ELEMENTS[body_eights_count]
82 suffix =
" " * (width -
len(body))