1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/common/unicode_bar.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9namespace duckdb {
10struct UnicodeBar {
11private:
12 static constexpr idx_t PARTIAL_BLOCKS_COUNT = 8;
13
14public:
15 static constexpr idx_t PartialBlocksCount() {
16 return PARTIAL_BLOCKS_COUNT;
17 }
18
19 static const char *const *PartialBlocks() {
20 static const char *PARTIAL_BLOCKS[PARTIAL_BLOCKS_COUNT] = {" ",
21 "\xE2\x96\x8F",
22 "\xE2\x96\x8E",
23 "\xE2\x96\x8D",
24 "\xE2\x96\x8C",
25 "\xE2\x96\x8B",
26 "\xE2\x96\x8A",
27 "\xE2\x96\x89"};
28 return PARTIAL_BLOCKS;
29 }
30
31 static const char *FullBlock() {
32 return "\xE2\x96\x88";
33 }
34};
35} // namespace duckdb
36