Commit 61dbb7c1 by maarten

betere output

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@305 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 834a3a50
...@@ -449,16 +449,28 @@ void ProgressImpl::Run() ...@@ -449,16 +449,28 @@ void ProgressImpl::Run()
void ProgressImpl::PrintProgress() void ProgressImpl::PrintProgress()
{ {
// const char* kBlocks[] = {
// " ", // 0
// u8"\u258F", // 1
// u8"\u258E", // 2
// u8"\u258D", // 3
// u8"\u258C", // 4
// u8"\u258B", // 5
// u8"\u258A", // 6
// u8"\u2589", // 7
// u8"\u2588", // 8
// };
const char* kBlocks[] = { const char* kBlocks[] = {
" ", // 0 " ", // 0
u8"\u258F", // 1 u8".", // 1
u8"\u258E", // 2 u8"o", // 2
u8"\u258D", // 3 u8"0", // 3
u8"\u258C", // 4 u8"o", // 4
u8"\u258B", // 5 u8".", // 5
u8"\u258A", // 6 u8"-", // 6
u8"\u2589", // 7 u8">", // 7
u8"\u2588", // 8 "=", // 8
}; };
uint32 width = get_terminal_width(); uint32 width = get_terminal_width();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment